Пример #1
0
    // Use this for initialization

    public override void OnHit(Collider other)
    {
        //+1 к жизни
        GuiLayer.AddToLife(5, null);
        PlayClipSound();
        MakeInactive();
    }
Пример #2
0
    // Use this for initialization

    public override void OnHit(Collider other)
    {
        playerScript.StumbleTrigger();
        GuiLayer.AddToLife(-3, singleTransform);
        GuiLayer.AddHeadStars();
        PlayClipSound();
        MakeInactive();
    }
Пример #3
0
    // Use this for initialization

    public override void OnHit(Collider other)
    {
        GuiLayer.AddToLife(-50, singleTransform);
        GuiLayer.AddHeadStars();
        PlayClipSound();
        if (playerScript.isVodka())
        {
            playerScript.MakeVodkaBoom();
            MakeInactiveParent();
        }
    }
Пример #4
0
    // Use this for initialization

    public override void OnHit(Collider other)
    {
        GuiLayer.AddToLife(1, singleTransform);
        PlayClipSound();
        MakeInactive();
    }