Exemplo n.º 1
0
 public override void End()
 {
     if (missileActive)
     {
         Explode(false);             // TODO: Should missile continue flying after its parent unit dies?
     }
     missile.End();
 }
Exemplo n.º 2
0
 public override void End()
 {
     if (targetUnit)
     {
         ClearTarget();
     }
     lineEffect.End();
     pointEffect.End();
     audioLoop.End();
 }
Exemplo n.º 3
0
 public override void End()
 {
     if (isBorrowing)
     {
         GameObject    go       = new GameObject();
         Util_ResDelay resDelay = go.AddComponent <Util_ResDelay>();
         resDelay.GiveResAfterDelay(gameRules.ABLY_healFieldResCost, gameRules.WRCK_lifetime, team);
     }
     pointEffect.End();
     audioLoop.End();
 }
Exemplo n.º 4
0
 public override void End()
 {
     pointEffect.End();
     audioLoop.End();
 }