public void ThrowProjectile(float force) { Weight.mass = force; _wasFired = true; Rope.breakForce = 0; Weight.AddForce(0, -(force), 0); SoundPlayer.Instance.PlayClip(SoldierAudioClips.ReturnChosenClip()); SliderPingPong.Instance.StopPingPong(); Debug.Log("Throwing!"); Line.enabled = false; }
void CallRandomExplosion() { SoundPlayer.Instance.PlayClipWithoutLoop(_clips.ReturnChosenClip()); }