v3.11.4 Documentation
Fungus.GameObjectVariable Class Reference

GameObject variable type. More...

Inheritance diagram for Fungus.GameObjectVariable:
Fungus.VariableBase< GameObject >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, GameObject gameObjectValue)
override void Apply (SetOperator setOperator, GameObject value)
- Public Member Functions inherited from Fungus.VariableBase< GameObject >
override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
override string ToString ()
virtual void Apply (SetOperator setOperator, T value)

Static Public Attributes

static readonly CompareOperator [] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }
static readonly SetOperator [] setOperators = { SetOperator.Assign }

Additional Inherited Members

- Protected Member Functions inherited from Fungus.VariableBase< GameObject >
virtual void Start ()
- Protected Attributes inherited from Fungus.VariableBase< GameObject >
- Properties inherited from Fungus.VariableBase< GameObject >
virtual T Value [get, set]

Detailed Description

GameObject variable type.

Definition at line 15 of file GameObjectVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.GameObjectVariable.Apply ( SetOperator  setOperator,
GameObject  value 

Definition at line 43 of file GameObjectVariable.cs.

◆ Evaluate()

virtual bool Fungus.GameObjectVariable.Evaluate ( CompareOperator  compareOperator,
GameObject  gameObjectValue 

Definition at line 20 of file GameObjectVariable.cs.

Member Data Documentation

◆ compareOperators

readonly CompareOperator [] Fungus.GameObjectVariable.compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }

Definition at line 17 of file GameObjectVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.GameObjectVariable.setOperators = { SetOperator.Assign }

Definition at line 18 of file GameObjectVariable.cs.

The documentation for this class was generated from the following file: