예제 #1
0
    void CompleteFlyingToTarget()
    {
        if (quedTargets [0].type == TargetData.TargetType.deploy)
        {
            heli.Dismount();
        }
        else if (quedTargets [0].type == TargetData.TargetType.extract)
        {
            heli.LowerRope();
            awaitingPlayer = true;
            return;
        }

        SwitchToNextObjective();
    }