lab  2016-03-28
lightweight ai behaviour trees framework for Unity 3D
lab.FloatParameter Class Reference

Serializable float parameter. More...

Inherits lab.ASerializableParameter< string, float >.

Public Member Functions

 FloatParameter ()
 Default constructor. More...
 
 FloatParameter (FloatParameter floatParameter)
 Copy constructor. More...
 
- Public Member Functions inherited from lab.ASerializableParameter< string, float >
 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, float >
List< TKey > _keys
 
List< TValue > _values
 

Detailed Description

Serializable float 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.

Constructor & Destructor Documentation

lab.FloatParameter.FloatParameter ( )

Default constructor.

lab.FloatParameter.FloatParameter ( FloatParameter  floatParameter)

Copy constructor.

Parameters
floatParameterSerializable parameter to copy

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