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