Method Register
Register(Volume, int)
Registers a new Volume in the manager. Unity does this automatically when a new Volume is enabled, or its layer changes, but you can use this function to force-register a Volume that is currently disabled.
Declaration
public void Register(Volume volume, int layer)
Parameters
| Type | Name | Description |
|---|---|---|
| Volume | volume | The volume to register. |
| int | layer | The LayerMask that this volume is in. |