public void Click() { rb.AddForce(transform.up * -Random.Range(minThrust, maxThrust)); Debug.Log("Clicked: " + letter); CustomGameEventSystem.BroadcastGuessLetter(letter); pingSound.volume = Random.Range(minVolume, maxVolume); pingSound.pitch = Random.Range(minPitch, maxPitch); pingSound.Play(); }
public void Click() { rb.AddForce(transform.up * -thrust); Debug.Log("Clicked: " + letter); CustomGameEventSystem.BroadcastGuessLetter(letter); }