예제 #1
0
    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();
    }
예제 #2
0
 public void Click()
 {
     rb.AddForce(transform.up * -thrust);
     Debug.Log("Clicked: " + letter);
     CustomGameEventSystem.BroadcastGuessLetter(letter);
 }