public override void Pickup() { AudioPlayer.instance.PowerUp(); //CFX_SpawnSystem.GetNextObject(particle, true).transform.position = transform.position; ItsAMePacMan.YEAHMOTHERFUCKER(); if (Time.timeScale == 0f) { return; } Pellet.pelletsAmount--; if (Pellet.pelletsAmount <= 0) { GameObject.Find("Illuminati").SendMessage("LetMayhemInsueOnceMore"); } Destroy(gameObject); }
void Start() { instance = this; }