Add new dialogue system, add sound effects to walk cycle

This commit is contained in:
2022-08-14 13:56:16 -07:00
parent 432f578360
commit dd76b8b9fe
31 changed files with 6963 additions and 533 deletions

View File

@@ -0,0 +1,19 @@
using System.Linq;
using UnityEngine;
namespace Scampz.GameJam
{
public class Footsteps : MonoBehaviour
{
[SerializeField]
private AudioClip[] clips;
[SerializeField]
private AudioSource audioSource;
private void Step()
{
var clip = clips.First();
audioSource.PlayOneShot(clip);
}
}
}