public class ComponentWrapper : UnityObjectWrapper

A unity component.

This is anything that can be on a game object.


public TransformWrapper GetTransform()

(Client) Get the transform of this component's game object.

Returns: (Transform) The transform.


public GameObjectWrapper GetGameObject()

(Client) Get the game object this component is attached to.

Returns: (GameObject) The game object.


public RectTransformWrapper GetRectTransform()

(Client) Get the rect transform of this component's game object.

Returns: (RectTransform) The rect transform.


public MeshRendererWrapper GetMeshRenderer()

(Client) Get the Mesh Renderer of this component's game object.

Returns: (MeshRenderer) The mesh renderer.