Class VolumeManager
Inheritance
System.Object
VolumeManager
Syntax
public sealed class VolumeManager
Properties
baseComponentTypes
Declaration
public IEnumerable<Type> baseComponentTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
instance
Declaration
public static VolumeManager instance { get; }
Property Value
stack
Declaration
public VolumeStack stack { get; }
Property Value
Methods
CheckBaseTypes()
Declaration
[Conditional("UNITY_EDITOR")]
public void CheckBaseTypes()
CheckStack(VolumeStack)
Declaration
[Conditional("UNITY_EDITOR")]
public void CheckStack(VolumeStack stack)
Parameters
CreateStack()
Declaration
public VolumeStack CreateStack()
Returns
IsComponentActiveInMask<T>(LayerMask)
Declaration
public bool IsComponentActiveInMask<T>(LayerMask layerMask)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
LayerMask |
layerMask |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Register(Volume, Int32)
Declaration
public void Register(Volume volume, int layer)
Parameters
Type |
Name |
Description |
Volume |
volume |
|
System.Int32 |
layer |
|
Unregister(Volume, Int32)
Declaration
public void Unregister(Volume volume, int layer)
Parameters
Type |
Name |
Description |
Volume |
volume |
|
System.Int32 |
layer |
|
Declaration
public void Update(Transform trigger, LayerMask layerMask)
Parameters
Type |
Name |
Description |
Transform |
trigger |
|
LayerMask |
layerMask |
|
Declaration
public void Update(VolumeStack stack, Transform trigger, LayerMask layerMask)
Parameters
Type |
Name |
Description |
VolumeStack |
stack |
|
Transform |
trigger |
|
LayerMask |
layerMask |
|