public static void OpenAsEditMode(AIClipEvent clipEvent) { AIEventEditWnd wnd = EditorWindow.GetWindow <AIEventEditWnd>(); wnd.OpenAsCreateMode(); wnd.mCurEvet = clipEvent; }
public static void OpenCreateEditor(OnCreateEvent callBack) { AIEventEditWnd wnd = EditorWindow.GetWindow <AIEventEditWnd>(); wnd.OpenAsCreateMode(); wnd.onCreate = callBack; }