Files
5.24BuYu/Assets/MyGame/aa/Game/FLZY/BOSS/RYGZ/RYGZDieEvent.cs
T
2026-06-09 15:59:11 +08:00

21 lines
466 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
public class RYGZDieEvent : MonoBehaviour
{
public PlayableDirector playable;
public LayeredPool layeredPool;
public List<GameObject> bJ_BeiShu;
private void Awake()
{
playable.Play();
playable.played += PlayEnd;
}
public void PlayEnd(PlayableDirector playableDirector)
{
Destroy(gameObject);
}
}