コード例 #1
0
 public static void Open()
 {
     if (Inst != null)
     {
         return;
     }
     Inst         = EditorWindow.GetWindow <GEventWindow>("GEvent");
     Inst.minSize = new Vector2(300f, 200f);
     Inst.Show();
 }
コード例 #2
0
 public void SetSelect(TreeNode node)
 {
     m_selectData = node;
     rootNode     = m_selectData.root;
     curStyle     = rootNode.style as GTimelineStyle;
     GTimelineFactory.ReleaseTimeline(curTimline);
     curTimline = GTimelineFactory.CreatTimeline(curStyle);
     rootNode.SetEvent(curTimline);
     GEventWindow.Open(m_selectData, curEvent);
 }