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

Serializable string parameter. More...

Inherits lab.ASerializableParameter< string, string >.

Public Member Functions

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

Detailed Description

Serializable string 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.StringParameter.StringParameter ( )

Default constructor.

lab.StringParameter.StringParameter ( StringParameter  stringParameter)

Copy constructor.

Parameters
stringParameterSerializable parameter to copy

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