HeavenStudio/Assets/Scripts/Games/BuiltToScaleDS/BTSPiece.cs
2022-03-11 21:10:13 -07:00

19 lines
385 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RhythmHeavenMania.Util;
namespace RhythmHeavenMania.Games.Scripts_BuiltToScaleDS
{
public class BTSPiece : MonoBehaviour
{
public Animator anim;
void LateUpdate()
{
if (anim.IsAnimationNotPlaying())
Destroy(gameObject);
}
}
}