文档

Unity Engine

Unity Engine

OnGUI(Rect)

Override this method to make your own GUI for the decorator. See DecoratorDrawer for an example of how to use this.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void OnGUI(Rect position)

Parameters

position

Rectangle on the screen to use for the decorator GUI.