Method GetActiveBrain
GetActiveBrain(int)
Access the array of active CinemachineBrains in the scene without gebnerating garbage
Declaration
public CinemachineBrain GetActiveBrain(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the brain to access, range 0-BrainCount |
Returns
Type | Description |
---|---|
CinemachineBrain | The brain at the specified index |