2026-07-09 구준표루스 타임라인
This commit is contained in:
19
Assets/02_Scripts/TimelineSupport.cs
Normal file
19
Assets/02_Scripts/TimelineSupport.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEditor.Playables;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Playables;
|
||||
|
||||
public class TimelineSupport : MonoBehaviour
|
||||
{
|
||||
private PlayableDirector _director;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_director = GetComponent<PlayableDirector>();
|
||||
}
|
||||
|
||||
public void PlayRequest(float delay)
|
||||
{
|
||||
_ = Util.RunDelayed(delay,()=>_director.Play());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user