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
instance
Instance of the required component type.
Declaration
public static TType instance { get; }
Property Value
Type | Description |
---|---|
TType |
Methods
Release()
Release the component singleton.
Declaration
public static void Release()