C# Class UnityEngine.ContextMenuItemAttribute

Inheritance: PropertyAttribute
Show file Open project: CarlosHBC/UnityDecompiled

Public Properties

Property Type Description
function string
name string

Public Methods

Method Description
ContextMenuItemAttribute ( string name, string function ) : System

Use this attribute to add a context menu to a field that calls a named method.

Method Details

ContextMenuItemAttribute() public method

Use this attribute to add a context menu to a field that calls a named method.

public ContextMenuItemAttribute ( string name, string function ) : System
name string The name of the context menu item.
function string The name of the function that should be called.
return System

Property Details

function public property

The name of the function that should be called.

public string function
return string

name public property

The name of the context menu item.

public string name
return string