public override void FireSimple()
 {
     if (pickedSpot)
     {
         indicatorController.DestroyIndicator();
         pickedSpot = false;
         tmpStorm.transform.position = spawningLocation + Vector3.up * spawningHeight;
         tmpStorm.SetActive(true);
         Invoke(nameof(StopStorm), 10f);
     }
 }
Example #2
0
 public override void FireSimple()
 {
     if (pickedSpot)
     {
         indicatorController.DestroyIndicator();
         pickedSpot = false;
         currentFireWall.transform.position    = Vector3.up * transform.localScale.y / 2 + spawningLocation;
         currentFireWall.transform.eulerAngles = spellRotation;
         currentFireWall.SetActive(true);
         Invoke(nameof(DeactivateWall), 10f);
     }
 }
 public override void FireSimple()
 {
     if (pickedSpot)
     {
         indicatorController.DestroyIndicator();
         pickedSpot    = false;
         spellLocation = spawningLocation + Vector3.up * spawningHeight;
         firing        = true;
         Fire();
         Invoke(nameof(StopFiring), 10f);
     }
 }
Example #4
0
 public override void FireHold(bool holding)
 {
     if (holding)
     {
         indicatorController.SelectLocation(channelingFirePoint, 3f, 18f);
         tmpLaser.SetActive(true);
     }
     else
     {
         indicatorController.DestroyIndicator();
         tmpLaser.SetActive(false);
     }
 }