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); }
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); }