예제 #1
0
    void OnTargetReached()
    {
        FlightState old = target;

        target = targetSelector.OnTargetReached(target);
        Debug.Log($"Target switched from {old.parentBody}-{old.flightState} to {target.parentBody}-{target.flightState}");
    }