ドキュメント

Unity Engine

Unity Engine

GUI.WindowFunction

Callback to draw GUI within a window (used with GUI.Window ).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Delegate
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public delegate void GUI.WindowFunction(int id)

Remarks

This function takes the ID number of the window to be drawn. Its body should contain GUI calls to display the window, much like a standard OnGUI function. This function can then be passed as a parameter to GUI.Window to draw the appropriate contents.