示例#1
0
    public static void Open()
    {
        StateEditorWindow window = GetWindow <StateEditorWindow>("State Editor");

        window.my = (StateDataBase)AssetDatabase.LoadAssetAtPath("Assets/DataBase/Data_States.asset", typeof(StateDataBase));
        window.SetStyle();
    }
示例#2
0
    public static void Open(StateDataBase Content)
    {
        StateEditorWindow window = GetWindow <StateEditorWindow>("State Editor");

        window.my = Content;
        window.SetStyle();
    }