public override void FireHold(bool holding) { if (!currentFireWall.activeInHierarchy) { if (holding) { indicatorController.SelectLocation(20f, 24f, 4f); pickedSpot = false; } else { if (indicatorController != null) { spawningLocation = indicatorController.LockLocation()[0]; spellRotation = indicatorController.LockLocation()[1]; pickedSpot = true; Invoke(nameof(CancelSpell), 5f); } } } }
public override void FireHold(bool holding) { if (!firing) { if (holding) { indicatorController.SelectLocation(20f, 20f); pickedSpot = false; } else { if (indicatorController != null) { spawningLocation = indicatorController.LockLocation()[0]; pickedSpot = true; Invoke(nameof(CancelSpell), 5f); } } } }