Class CustomComponent<THandler>
Represents a custom component with an update handler of type THandler
.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PiTung.Components
Assembly: PiTung.dll
Syntax
public sealed class CustomComponent<THandler> : CustomComponent where THandler : UpdateHandler
Type Parameters
Name | Description |
---|---|
THandler | The update handler class for this component. |
Methods
| Improve this Doc View SourceInstantiate()
Spawns a new instance of the custom component.
Declaration
public override GameObject Instantiate()
Returns
Type | Description |
---|---|
UnityEngine.GameObject | A new instance of the custom component. |