public Pacman( pacman.Map m , int a , int b, int c) { this.actualLevel = a; this.actualLives = b; this.actualScore = c; this.position = m.GetStartPosition(); this.mapa = m; this.direction = Direction.right; PacmanLoadICon (); }
// Use this for initialization void Start() { playe = GameObject.Find("player").GetComponent <pacman>(); }
public void PacmanHit(pacman _pacman) { m_livesTracker.UpdateLives(); m_audioManager.StopBackgroundAudio(); StartCoroutine(PacmanDeathSequance(2.0f)); }
private void Start() { player = GameObject.FindGameObjectWithTag("Player").GetComponent <pacman>(); UpdateLives(); }
void Start() { Target = GameObject.FindWithTag("pacman").transform; pc = GameObject.FindWithTag("pacman").GetComponent <pacman>(); }