// Use this for initialization public override void OnHit(Collider other) { playerScript.StumbleTrigger(); GuiLayer.AddToLife(-3, singleTransform); GuiLayer.AddHeadStars(); PlayClipSound(); MakeInactive(); }
// Use this for initialization public override void OnHit(Collider other) { GuiLayer.AddToLife(-50, singleTransform); GuiLayer.AddHeadStars(); PlayClipSound(); if (playerScript.isVodka()) { playerScript.MakeVodkaBoom(); MakeInactiveParent(); } }