C# Класс UnityEngine.ContextMenuItemAttribute

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

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

Свойство Тип Описание
function string
name string

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

Метод Описание
ContextMenuItemAttribute ( string name, string function ) : System

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

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

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

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.
Результат System

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

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

The name of the function that should be called.

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

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

The name of the context menu item.

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