v3.11.4 Documentation
Fungus.Vector2Variable Class Reference

Vector2 variable type. More...

Inheritance diagram for Fungus.Vector2Variable:
Fungus.VariableBase< Vector2 >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, Vector2 value)
override void Apply (SetOperator setOperator, Vector2 value)
- Public Member Functions inherited from Fungus.VariableBase< Vector2 >
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, SetOperator.Add, SetOperator.Subtract }

Additional Inherited Members

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

Detailed Description

Vector2 variable type.

Definition at line 15 of file Vector2Variable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.Vector2Variable.Apply ( SetOperator  setOperator,
Vector2  value 

Definition at line 40 of file Vector2Variable.cs.

◆ Evaluate()

virtual bool Fungus.Vector2Variable.Evaluate ( CompareOperator  compareOperator,
Vector2  value 

Definition at line 20 of file Vector2Variable.cs.

Member Data Documentation

◆ compareOperators

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

Definition at line 17 of file Vector2Variable.cs.

◆ setOperators

readonly SetOperator [] Fungus.Vector2Variable.setOperators = { SetOperator.Assign, SetOperator.Add, SetOperator.Subtract }

Definition at line 18 of file Vector2Variable.cs.

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