コード例 #1
0
    public void PreformBehaviour()
    {
        if (State == BomberState.FreeState)
        {
            ;
        }
        else if (State == BomberState.PreformingStartupKick)
        {
            PreformStartupKick();
        }
        else if (State == BomberState.MovingTowardsPlayer)
        {
            PreformMoveTowardsPlayer();
        }
        else if (State == BomberState.Bombing)
        {
            PrefromBombing();
        }
        else if (State == BomberState.DestructingAerial)
        {
            PrefromDestrctingAerial();
        }
        else if (State == BomberState.DestructingTarget)
        {
            PreformDestructingTarget();
        }


        OrbitatingSpawnKickTargetPoint.Rotate(OrbiatingSpawnKickPointSpeed);
    }
コード例 #2
0
 public void PreformBehaviour()
 {
     OrbitatingSpawnKickTargetPoint.Rotate(OrbiatingSpawnKickPointSpeed);
 }