A* Pathfinding Project  4.2.0
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...
 
virtual void Reset ()
 Handle serialization backwards compatibility. More...
 

Private Member Functions

void ISerializationCallbackReceiver. OnAfterDeserialize ()
 Handle serialization backwards compatibility. More...
 
void ISerializationCallbackReceiver. OnBeforeSerialize ()
 Handle serialization backwards compatibility. More...
 
void IVersionedMonoBehaviourInternal. UpgradeFromUnityThread ()
 

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()

virtual int OnUpgradeSerializedData ( int  version,
bool  unityThread 
)
protectedvirtual

Handle serialization backwards compatibility.

Reimplemented in AIBase, AILerp, Seeker, RichAI, AIPath, and RVOController.

◆ Reset()

virtual void Reset ( )
protectedvirtual

Handle serialization backwards compatibility.

Reimplemented in AIBase, and GraphModifier.

◆ UpgradeFromUnityThread()

void IVersionedMonoBehaviourInternal. UpgradeFromUnityThread ( )
private

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: