Exemplo n.º 1
0
    // Add menu named "TowerEditor" to the Window menu
    //[MenuItem ("TDTK/TowerEditor")]
    public static void Init()
    {
        // Get existing open window or if none, make a new one:
        window         = (CreepEditor)EditorWindow.GetWindow(typeof(CreepEditor));
        window.minSize = new Vector2(720, 650);

        rscList = ResourceEditorWindow.Load();

        GetCreep();

        InitCreepAttackLabel();
    }
Exemplo n.º 2
0
 static void OpenCreepEditor()
 {
     CreepEditor.Init();
 }