HeavenStudio/Assets/Scripts/Games/BuiltToScaleDS/BTSPiece.cs

19 lines
385 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RhythmHeavenMania.Util;
2022-03-12 04:10:13 +00:00
namespace RhythmHeavenMania.Games.Scripts_BuiltToScaleDS
{
public class BTSPiece : MonoBehaviour
{
public Animator anim;
void LateUpdate()
{
if (anim.IsAnimationNotPlaying())
Destroy(gameObject);
}
}
}