C# Class UnityEngine.ContextMenu

Inheritance: Attribute, _Attribute
Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Méthodes publiques

Свойство Type Description
menuItem string
priority int
validate bool

Méthodes publiques

Méthode Description
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.

Method Details

ContextMenu() public méthode

Adds the function to the context menu of the component.

public ContextMenu ( string itemName ) : System
itemName string The name of the context menu item.
Résultat System

ContextMenu() public méthode

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).
Résultat System

ContextMenu() public méthode

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.
Résultat System

Property Details

menuItem public_oe property

public string menuItem
Résultat string

priority public_oe property

public int priority
Résultat int

validate public_oe property

public bool validate
Résultat bool