public void FixedUpdate()
        {
            if (FlightComputer != null)
            {
                FlightComputer.OnFixedUpdate();
            }
            HookPartMenus();
            switch (UpdateControlState())
            {
            case State.Operational:
                Status = "Operational.";
                break;

            case State.NoCrew:
                Status = "Not enough crew.";
                break;

            case State.NoConnection:
                Status = "No connection.";
                break;

            case State.NoResources:
                Status = "Out of power";
                break;
            }
        }
Exemple #2
0
        public void FixedUpdate()
        {
            if (FlightComputer != null)
            {
                FlightComputer.OnFixedUpdate();
            }
            HookPartMenus();
            switch (UpdateControlState())
            {
            case State.Operational:
                GUI_Status = "Operational.";
                break;

            case State.ParentDefect:
            case State.NoConnection:
                GUI_Status = "No connection.";
                break;
            }
        }