14 lines
270 B
C#
14 lines
270 B
C#
using UnityEngine;
|
|
|
|
namespace Player
|
|
{
|
|
public class Clop : MonoBehaviour
|
|
{
|
|
private AudioSource audioSource = null;
|
|
|
|
private void Start() => audioSource = GetComponent<AudioSource>();
|
|
|
|
public void PlayClop() => audioSource.Play();
|
|
}
|
|
}
|