기술 자료

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분최근 업데이트: 한 달 전

Definition

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

Parameters

position

Rectangle on the screen to use for the decorator GUI.