![]() |
lab
2016-03-28
lightweight ai behaviour trees framework for Unity 3D
|
Serializable bool parameter. More...
Inherits lab.ASerializableParameter< string, bool >.
Public Member Functions | |
| BoolParameter () | |
| Default constructor. More... | |
| BoolParameter (BoolParameter boolParameter) | |
| Copy constructor. More... | |
Public Member Functions inherited from lab.ASerializableParameter< string, bool > | |
| ASerializableParameter () | |
| Default constructor. More... | |
| ASerializableParameter (ASerializableParameter< TKey, TValue > asp) | |
| Copy constructor. More... | |
| void | OnBeforeSerialize () |
| Method to receive a callback before Unity serializes your object. More... | |
| void | OnAfterDeserialize () |
| Method to receive a callback after Unity de-serializes your object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from lab.ASerializableParameter< string, bool > | |
| List< TKey > | _keys |
| List< TValue > | _values |
Serializable bool parameter.
This weird solution of inheriting from generic class is to avoid boiler code of serialization different types of parameters, because Unity does not serialize dictinaries.
| lab.BoolParameter.BoolParameter | ( | ) |
Default constructor.
| lab.BoolParameter.BoolParameter | ( | BoolParameter | boolParameter | ) |
Copy constructor.
| boolParameter | Serializable parameter to copy |