Class Component
public abstract class Component
- Inheritance
-
Component
- Derived
- Inherited Members
Constructors
Component(GameObject)
public Component(GameObject gameObject)
Parameters
gameObject
GameObject
Properties
GameObject
public GameObject GameObject { get; init; }
Property Value
Transform
public TransformComponent Transform { get; }
Property Value
Methods
Clone(GameObject)
public abstract Component Clone(GameObject gameObject)
Parameters
gameObject
GameObject
Returns
Delete()
public virtual void Delete()
GetComponent<T>()
public T GetComponent<T>() where T : Component
Returns
- T
Type Parameters
T
HandleFrozenStateChanged(bool)
public virtual void HandleFrozenStateChanged(bool IsFrozen)
Parameters
IsFrozen
bool
HasComponent<T>()
public bool HasComponent<T>() where T : Component
Returns
Type Parameters
T
ToString()
Returns a string that represents the current object.
public override abstract string ToString()
Returns
- string
A string that represents the current object.
Update()
public virtual void Update()