Method Unregister
Unregister(Volume, int)
Unregisters a Volume from the manager. Unity does this automatically when a Volume is disabled or goes out of scope, but you can use this function to force-unregister a Volume that you added manually while it was disabled.
Declaration
public void Unregister(Volume volume, int layer)
Parameters
| Type | Name | Description |
|---|---|---|
| Volume | volume | The Volume to unregister. |
| int | layer | The LayerMask that this Volume is in. |