// Use this for initialization public override void OnHit(Collider other) { //+1 к жизни GuiLayer.AddToLife(5, null); PlayClipSound(); MakeInactive(); }
// 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(); } }
// Use this for initialization public override void OnHit(Collider other) { GuiLayer.AddToLife(1, singleTransform); PlayClipSound(); MakeInactive(); }