Start() private method

private Start ( ) : void
return void
Exemplo n.º 1
0
 public void StartGame()
 {
     name = "JdDestroyer";
     enemySpawner.Start();
     mover.Start();
     addGoldenTooth();
 }
Exemplo n.º 2
0
        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);
        }