C# Класс UnityEngine.ContextMenu

Наследование: Attribute, _Attribute
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
menuItem string
priority int
validate bool

Открытые методы

Метод Описание
ContextMenu ( string itemName ) : System

Adds the function to the context menu of the component.

ContextMenu ( string itemName, bool isValidateFunction ) : System

Adds the function to the context menu of the component.

ContextMenu ( string itemName, bool isValidateFunction, int priority ) : System

Adds the function to the context menu of the component.

Описание методов

ContextMenu() публичный Метод

Adds the function to the context menu of the component.

public ContextMenu ( string itemName ) : System
itemName string The name of the context menu item.
Результат System

ContextMenu() публичный Метод

Adds the function to the context menu of the component.

public ContextMenu ( string itemName, bool isValidateFunction ) : System
itemName string The name of the context menu item.
isValidateFunction bool Whether this is a validate function (defaults to false).
Результат System

ContextMenu() публичный Метод

Adds the function to the context menu of the component.

public ContextMenu ( string itemName, bool isValidateFunction, int priority ) : System
itemName string The name of the context menu item.
isValidateFunction bool Whether this is a validate function (defaults to false).
priority int Priority used to override the ordering of the menu items (defaults to 1000000). The lower the number the earlier in the menu it will appear.
Результат System

Описание свойств

menuItem публичное свойство

public string menuItem
Результат string

priority публичное свойство

public int priority
Результат int

validate публичное свойство

public bool validate
Результат bool