NeoAxis Engine API Reference

MapObjectType.OnChangeReferencesToObject Method

Replaces the link of all objects to another.

protected override void OnChangeReferencesToObject(
   object obj,
   object newValue
);

Parameters

obj
The source link to object.
newValue
The new link to object.

Remarks

This method it is necessary to redirect to all of you created MapObject.MapObjectCreateObjectCollection objects and for all custom not serializable EntityType fields. It is necessary for normal work of Resource Editor.

See Also

MapObjectType Class | Engine.MapSystem Namespace