BGJ-2022.1/Assets/Scripts/Player/Clop.cs

14 lines
270 B
C#
Raw Normal View History

2022-02-26 19:00:15 +03:00
using UnityEngine;
namespace Player
{
public class Clop : MonoBehaviour
{
private AudioSource audioSource = null;
private void Start() => audioSource = GetComponent<AudioSource>();
public void PlayClop() => audioSource.Play();
}
}