Exemplo n.º 1
0
        public LuaCompatibleDictionary GetManeuversEnabled()
        {
            var dict = new LuaCompatibleDictionary();

            dict.Set("FreeFlight", true);
            dict.Set("Goto", true);
            dict.Set("Dock", true);
            dict.Set("Formation", false);
            return(dict);
        }
Exemplo n.º 2
0
            public LuaCompatibleDictionary GetManeuversEnabled()
            {
                var dict = new LuaCompatibleDictionary();

                dict.Set("FreeFlight", true);
                dict.Set("Goto", g.selected != null);
                dict.Set("Dock", g.selected?.GetComponent <CDockComponent>() != null);
                dict.Set("Formation", false);
                return(dict);
            }