Example #1
0
    public static void Open()
    {
        ItemEditorWindow window = GetWindow <ItemEditorWindow>("Item Editor");

        window.my = (ItemDataBase)AssetDatabase.LoadAssetAtPath("Assets/DataBase/Data_Items.asset", typeof(ItemDataBase));
        window.SetStyle();
    }
Example #2
0
    public static void Open(ItemDataBase Content)
    {
        ItemEditorWindow window = GetWindow <ItemEditorWindow>("Item Editor");

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