Class ComponentSingleton<TType>
Singleton of a Component class.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class ComponentSingleton<TType> where TType : Component
Type Parameters
| Name | Description |
|---|---|
| TType | Component type. |
Properties
| Name | Description |
|---|---|
| instance | Instance of the required component type. |
Methods
| Name | Description |
|---|---|
| Release() | Release the component singleton. |