The base Unity object. Almost every thing that's managed by Unity has one, as it ties the C# lifetime of the object to the engine's C++ lifetime.
public bool IsNull()
(Client) Checks if the underlying Unity object is null.
Returns: (bool) Whether the object is null.
public bool IsEqualTo(UnityObjectWrapper wrapper)
(Client) Checks if the underlying Unity object is equal to the Unity object of another wrapper.
In layman's terms, use this to check whether two objects are the same object.
Arguments
Returns: (bool) Whether the two objects are the same.
public int GetInstanceID()
(Client) Get the instance ID of this object.
Returns: (int) The instance ID.
public string GetObjectName()
(Client) Get the name of this object.
Returns: (string) The name of this object.
public void SetObjectName(string name)
(Client) Sets the name of this object.
Arguments
public string GetObjectType()
(Client) Gets the C# type of this object.
Returns: (string) The C# type of this object.
public virtual void Destroy()
(Client) Destroy this object.