A* Pathfinding Project  4.0.0
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)
 Handle serialization backwards compatibility.
 

Private Member Functions

void
ISerializationCallbackReceiver. 
OnAfterDeserialize ()
 Handle serialization backwards compatibility.
 
void
ISerializationCallbackReceiver. 
OnBeforeSerialize ()
 Handle serialization backwards compatibility.
 
void Reset ()
 Handle serialization backwards compatibility.
 

Private Attributes

int version = 0
 Version of the serialized data.
 

Member Function Documentation

void ISerializationCallbackReceiver. OnAfterDeserialize ( )
private

Handle serialization backwards compatibility.

void ISerializationCallbackReceiver. OnBeforeSerialize ( )
private

Handle serialization backwards compatibility.

virtual int OnUpgradeSerializedData ( int  version)
protectedvirtual

Handle serialization backwards compatibility.

Reimplemented in Seeker, and AIPath.

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: