public void setup(int x, int y) { isDead = false; maxCounter = 150; counter = 0; behaviorCounter = 0; wizard = GameObject.Find ("Wizard").GetComponent<ScWizard> (); }
// Use this for initialization void Start() { softReset (); wizard = GameObject.Find ("Wizard").GetComponent<ScWizard> (); //Loads sprites for ghosts used below spr_blinky = Resources.Load <Sprite> ("Blinky"); spr_pinky = Resources.Load <Sprite> ("Pinky"); spr_inky = Resources.Load <Sprite> ("Inky"); spr_clyde = Resources.Load <Sprite> ("Clyde"); }
// Use this for initialization public void findWizard() { wizard = GameObject.Find ("Wizard").GetComponent<ScWizard>(); }