Exemplo n.º 1
0
 public void OnGui(int itemCount, Action OnDrawHeader, Action <int> OnDrawItem)
 {
     if (EnableFoldout)
     {
         UtageEditorToolKit.FoldoutGroup(ref foldout, Name, () => OnGuiSub(itemCount, OnDrawHeader, OnDrawItem));
     }
     else
     {
         OnGuiSub(itemCount, OnDrawHeader, OnDrawItem);
     }
 }
Exemplo n.º 2
0
 //現在のページデータを描画
 void OnGuiCurrentScenario()
 {
     UpdateCurrentCommand();
     UtageEditorToolKit.FoldoutGroup(ref this.foldOutScenario, "Scenario", () =>
     {
         if (engine.Page != null && engine.Page.CurrentData != null)
         {
             OnScnearioLabelData(engine.Page.CurrentData.ScenarioLabelData);
         }
     });
 }