コード例 #1
0
    public static void OpenAsEditMode(AIClipEvent clipEvent)
    {
        AIEventEditWnd wnd = EditorWindow.GetWindow <AIEventEditWnd>();

        wnd.OpenAsCreateMode();
        wnd.mCurEvet = clipEvent;
    }
コード例 #2
0
    public static void OpenCreateEditor(OnCreateEvent callBack)
    {
        AIEventEditWnd wnd = EditorWindow.GetWindow <AIEventEditWnd>();

        wnd.OpenAsCreateMode();
        wnd.onCreate = callBack;
    }