Example #1
0
    void HandlePlayerInputs()
    {
        if (InputManager.ActionButtonDown())
        {
            if (gateTrigger)
            {
                gateTrigger.SendMessageUpwards("OpenClose");
            }

            if (pilotTrigger)
            {
                TogglePilot(pilotTrigger);
            }
        }
    }