A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
VersionedMonoBehaviour Class Reference

Base class for all components in the package. More...

Detailed Description

Base class for all components in the package.

Protected Member Functions

virtual void Awake ()
 
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility.
 

Private Member Functions

void
ISerializationCallbackReceiver. 
OnAfterDeserialize ()
 Handle serialization backwards compatibility.
 
void
ISerializationCallbackReceiver. 
OnBeforeSerialize ()
 Handle serialization backwards compatibility.
 
int
IVersionedMonoBehaviourInternal. 
OnUpgradeSerializedData (int version, bool unityThread)
 
void Reset ()
 Handle serialization backwards compatibility.
 

Private Attributes

int version = 0
 Version of the serialized data.
 

Additional Inherited Members

- Public Member Functions inherited from IVersionedMonoBehaviourInternal
int OnUpgradeSerializedData (int version, bool unityThread)
 

Member Function Documentation

void ISerializationCallbackReceiver. OnAfterDeserialize ( )
private

Handle serialization backwards compatibility.

void ISerializationCallbackReceiver. OnBeforeSerialize ( )
private

Handle serialization backwards compatibility.

virtual int OnUpgradeSerializedData ( int  version,
bool  unityThread 
)
protectedvirtual

Handle serialization backwards compatibility.

Reimplemented in AIBase, RichAI, AILerp, and AIPath.

int IVersionedMonoBehaviourInternal. OnUpgradeSerializedData ( int  version,
bool  unityThread 
)
private
void Reset ( )
private

Handle serialization backwards compatibility.

Member Data Documentation

int version = 0
private

Version of the serialized data.

Used for script upgrades.


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