Component
csharp
public abstract class Component : ObjectNamespace NodeWorld.Flux.
A component of an object of the world.
Properties
gameObject
csharp
public GameObject gameObject { get; }The GameObject the component is on.
transform
csharp
public Transform transform { get; }The Transform of that GameObject.
Methods
GetComponent<T>
csharp
public T GetComponent<T>()
where T : ComponentThe component of that type on the same GameObject, or null.
