Пример #1
0
    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);
    }
Пример #2
0
 void Start()
 {
     instance = this;
 }