Called when object ID gets changed. Can be used to synchronize any cache in the scripting backend. The object instance. The previous object ID.
| 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. |