MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnObjectIdChanged

Function OnObjectIdChanged

Source/Engine/Scripting/BinaryModule.h:253–255  ·  view source on GitHub ↗

Called when object ID gets changed. Can be used to synchronize any cache in the scripting backend. The object instance. The previous object ID.

Source from the content-addressed store, hash-verified

251 /// <param name="object">The object instance.</param>
252 /// <param name="oldId">The previous object ID.</param>
253 virtual void OnObjectIdChanged(ScriptingObject* object, const Guid& oldId)
254 {
255 }
256
257 /// <summary>
258 /// Called when object gets removed (inside destructor). Can be used to clear any cached data inside the scripting backend.

Callers 1

ChangeIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected