public void StartGame() { name = "JdDestroyer"; enemySpawner.Start(); mover.Start(); addGoldenTooth(); }
public void Launch(GameObject caster, object target, Vector3 destination) { if (Mover.IsMoving) { return; } SubscribeEvents(); this.caster = caster; this.target = target; this.destination = destination; transform.LookAt2D(destination); UpdateFlyHeight(); Mover.Start(gameObject, this.destination); }