![]() |
lab
2016-03-28
lightweight ai behaviour trees framework for Unity 3D
|
Serializable int parameter. More...
Inherits lab.ASerializableParameter< string, int >.
Public Member Functions | |
| IntParameter () | |
| Default constructor. More... | |
| IntParameter (IntParameter intParameter) | |
| Copy constructor. More... | |
Public Member Functions inherited from lab.ASerializableParameter< string, int > | |
| 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, int > | |
| List< TKey > | _keys |
| List< TValue > | _values |
Serializable int 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.IntParameter.IntParameter | ( | ) |
Default constructor.
| lab.IntParameter.IntParameter | ( | IntParameter | intParameter | ) |
Copy constructor.
| intParameter | Serializable parameter to copy |