A* Pathfinding Project  4.1.10
The A* Pathfinding Project for Unity 3D
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. More...
 

Private Member Functions

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

Private Attributes

int version = 0
 Version of the serialized data. More...
 

Additional Inherited Members

Member Function Documentation

◆ Awake()

◆ OnAfterDeserialize()

void ISerializationCallbackReceiver. OnAfterDeserialize ( )
private

Handle serialization backwards compatibility.

◆ OnBeforeSerialize()

void ISerializationCallbackReceiver. OnBeforeSerialize ( )
private

Handle serialization backwards compatibility.

◆ OnUpgradeSerializedData() [1/2]

virtual int OnUpgradeSerializedData ( int  version,
bool  unityThread 
)
protectedvirtual

Handle serialization backwards compatibility.

Implements IVersionedMonoBehaviourInternal.

Reimplemented in AIBase, AILerp, RichAI, and AIPath.

◆ OnUpgradeSerializedData() [2/2]

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

◆ Reset()

void Reset ( )
private

Handle serialization backwards compatibility.

Member Data Documentation

◆ version

int version = 0
private

Version of the serialized data.

Used for script upgrades.


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