From 18e2f5b45ab0be301f0973b8cf6df714c2d05f7c Mon Sep 17 00:00:00 2001 From: miepzerino <o.skotnik@gmail.com> Date: Fri, 04 Apr 2025 18:43:10 +0000 Subject: [PATCH] #37 set background to character position on load --- Assets/Scripts/StateMachine/PlayOneShotBehaviour.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Assets/Scripts/StateMachine/PlayOneShotBehaviour.cs b/Assets/Scripts/StateMachine/PlayOneShotBehaviour.cs index b032804..9f35227 100644 --- a/Assets/Scripts/StateMachine/PlayOneShotBehaviour.cs +++ b/Assets/Scripts/StateMachine/PlayOneShotBehaviour.cs @@ -1,10 +1,11 @@ +using Assets.Scripts.Enums; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayOneShotBehaviour : StateMachineBehaviour { - public string audioClipName; + public SoundName audioClipName; public bool playOnEnter = true, playOnExit = false, playAfterDelay = false; // Delayed sound timer -- Gitblit v1.9.3