文档

Unity Engine

Unity Engine

DropDown(Rect)

Show the menu at the given screen rect.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void DropDown(Rect position)

Parameters

position

The position at which to show the menu.

Remarks

Additional Resources: GenericMenu.ShowAsContext.