예제 #1
0
 public override void Reset()
 {
     laser.Reset();
     cannonMove = 0.0f;
     chargeCannon.transform.localPosition = Vector3.Lerp(chargeCannonOriginalPosition.localPosition, chargeCannonNewPosition.localPosition, cannonMove);
     base.Reset();
 }
예제 #2
0
 public override void Reset()
 {
     if (targetLocation)
     {
         StopAllCoroutines();
     }
     if (previousSegment)
     {
         previousSegment.Reset();
     }
     laser.Reset();
     base.Reset();
 }