static void Init() { // Get existing open window or if none, make a new one: NPCEditor editor = (NPCEditor)EditorWindow.GetWindow(typeof(NPCEditor)); editor.minSize = new Vector2(1500, 600); editor.Show(); }
public void InitWindows() { Skin = (GUISkin)Resources.Load("GUI/EditorGUI"); //windows init npcEditor = new NPCEditor(Skin, this); //weaponEditor = new WeaponEditor(Skin, this); //worldObjectEditor = new WorldObjectEditor(Skin, this); //questEditor = new QuestEditor(Skin, this); //itemCategory = new ItemCategoryEditor(Skin, this); //skillEditor = new SkillEditor(Skin, this); //attributeEditor = new AttributeEditor(Skin, this); armorEditor = new ArmorEditor(Skin, this); //equipmentSlotEditor = new EquipmentSlotEditor(Skin, this); //teleportEditor = new TeleportEditor(Skin, this); //conversationEditor = new ConversationEditor(Skin, this); shopEditor = new ShopEditor(Skin, this); //spellEditor = new SpellEditor(Skin, this); //enemyEditor = new EnemyEditor(Skin, this); //containerEditor = new ContainerEditor(Skin, this); itemEditor = new ItemEditor(Skin, this); //spellShop = new SpellShopEditor(Skin, this); //classEditor = new ClassEditor(Skin, this); // //raceEditor = new RaceEditor(Skin, this); //guildEditor = new GuildEditor(Skin, this); //reputationEditor = new ReputationEditor(Skin, this); //sceneEditor = new SceneEditor(Skin, this); //spawnEditor = new SpawnPointEditor(Skin, this); //questCategoryEditor = new QuestCategoryEditor(Skin, this); //validate = new Validate(); loadWindows = false; }
public void InitWindows() { Skin = (GUISkin)Resources.Load("GUI/EditorGUI"); //windows init npcEditor = new NPCEditor(Skin, this); armorEditor = new ArmorEditor(Skin, this); arenaEditor = new ArenaEditor(Skin, this); enemyEditor = new EnemyEditor(Skin, this); currencyEditor = new CurrencyEditor(Skin, this); conversationEditor = new ConversationEditor(Skin, this); shopEditor = new ShopEditor(Skin, this); questEditor = new QuestEditor(Skin, this); itemEditor = new ItemEditor(Skin, this); minigameEditor = new MiniGameEditor(Skin, this); serviceEditor = new ServiceEditor(Skin, this); npcQuestEditor = new NPCQuestEditor(Skin, this); townEditor = new TownEditor(Skin, this); badgeEditor = new BadgeEditor(Skin, this); constructionEditor = new ConstructionEditor(Skin, this); loadWindows = false; }