ドキュメント

Unity Engine

Unity Engine

DisplayMenuIfEventMatches(EventBase, IEventHandler)

Checks if the event triggers the display of the contextual menu. This method also displays the menu.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public abstract void DisplayMenuIfEventMatches(EventBase evt, IEventHandler eventHandler)

Parameters

The event to inspect.

eventHandler

The element for which the menu is displayed.

Remarks

This is an abstract method. Each concrete implementation of the ContextualMenuManager defines the events that will display the menu.