PlayerWalk.playSound C# (CSharp) Méthode

playSound() public méthode

Plays a sound.
public playSound ( int clipNumber ) : void
clipNumber int Index of the song in the Array of songs
Résultat void
    void playSound(int clipNumber)
    {
        AudioSource.PlayClipAtPoint (playerClips [clipNumber], pos, PlayerPrefs.GetInt("Sound"));
    }