Example #1
0
    // Use this for initialization

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

    public override void OnHit(Collider other)
    {
        GuiLayer.AddToLife(-50, singleTransform);
        GuiLayer.AddHeadStars();
        PlayClipSound();
        if (playerScript.isVodka())
        {
            playerScript.MakeVodkaBoom();
            MakeInactiveParent();
        }
    }