Class VolumeComponentMenu
This attribute allows you to add commands to the Add Override popup menu on Volumes.
Namespace: UnityEngine.Rendering
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class VolumeComponentMenu : Attribute, _Attribute
Constructors
VolumeComponentMenu(String)
Creates a new VolumeComponentMenu instance.
Declaration
public VolumeComponentMenu(string menu)
Parameters
Type | Name | Description |
---|---|---|
String | menu | The name of the entry in the override list. You can use slashes to create sub-menus. |
Fields
menu
The name of the entry in the override list. You can use slashes to create sub-menus.
Declaration
public readonly string menu
Field Value
Type | Description |
---|---|
String |