Ejemplo n.º 1
0
    private void Update()
    {
        if (Input.GetKeyDown(KeyCode.H))
        {
            var isSuccess = launcher.TryLaunch(transform.position, transform.up, shipMovement);

            if (!isSuccess)
            {
                Debug.Log("All airplanes are on a mission!");
            }
        }
    }