v3.11.4 Documentation
Fungus.ColorVariable Class Reference

Color variable type. More...

Inheritance diagram for Fungus.ColorVariable:
Fungus.VariableBase< Color >

Public Member Functions

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

Static Protected Member Functions

static bool ColorsEqual (Color a, Color b)

Additional Inherited Members

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

Detailed Description

Color variable type.

Definition at line 15 of file ColorVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.ColorVariable.Apply ( SetOperator  setOperator,
Color  value 

Definition at line 49 of file ColorVariable.cs.

◆ ColorsEqual()

static bool Fungus.ColorVariable.ColorsEqual ( Color  a,
Color  b 

Definition at line 25 of file ColorVariable.cs.

◆ Evaluate()

virtual bool Fungus.ColorVariable.Evaluate ( CompareOperator  compareOperator,
Color  value 

Definition at line 29 of file ColorVariable.cs.

Member Data Documentation

◆ compareOperators

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

Definition at line 17 of file ColorVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.ColorVariable.setOperators
Initial value:
= {

Definition at line 18 of file ColorVariable.cs.

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