Class CinemachineImpulseChannels
This class contains setting for the Impulse system. Specifically, it holds the Impulse Channel definitions. These work like Unity Layers, you can define and name them, and create masks to filter only the layers you want.
Namespace: Cinemachine.Editor
Syntax
public class CinemachineImpulseChannels : ScriptableObject
Fields
ImpulseChannels
The currently-defined Impulse channel names
Declaration
public string[] ImpulseChannels
Field Value
| Type | Description |
|---|---|
| String[] |
Properties
Instance
Get the singleton instance of this object. Creates asset if nonexistant
Declaration
public static CinemachineImpulseChannels Instance { get; }
Property Value
| Type | Description |
|---|---|
| CinemachineImpulseChannels |
InstanceIfExists
Get the singleton instance of this object, or null if it doesn't exist
Declaration
public static CinemachineImpulseChannels InstanceIfExists { get; }
Property Value
| Type | Description |
|---|---|
| CinemachineImpulseChannels |