Esempio n. 1
0
        public static void OpenWindow()
        {
            _ai       = null;
            behaviour = -1;

            gameConfig = Resources.Load("Configs/GeneralConfigs") as SimpleAIConfig;

            SimpleAIWindow window = (SimpleAIWindow)GetWindow(typeof(SimpleAIWindow));

            window.minSize = windowSize;
            window.Show();
        }
Esempio n. 2
0
        public static void OpenWindow(AI ai, int behaviour_id)
        {
            _ai       = ai;
            behaviour = behaviour_id;
            moment    = windowMoments.main;

            gameConfig = Resources.Load("Configs/GeneralConfigs") as SimpleAIConfig;

            SimpleAIWindow window = (SimpleAIWindow)GetWindow(typeof(SimpleAIWindow));

            window.minSize = windowSize;
            window.Show();
        }