HeavenStudioPlus/Assets/Scripts/Games/BuiltToScaleDS/BTSPiece.cs
2022-03-14 07:21:05 -07:00

18 lines
375 B
C#

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