2022-02-16 17:04:28 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
2022-03-14 14:21:05 +00:00
|
|
|
using HeavenStudio.Util;
|
|
|
|
namespace HeavenStudio.Games.Scripts_BuiltToScaleDS
|
2022-02-16 17:04:28 +00:00
|
|
|
{
|
|
|
|
public class BTSPiece : MonoBehaviour
|
|
|
|
{
|
|
|
|
public Animator anim;
|
|
|
|
|
|
|
|
void LateUpdate()
|
|
|
|
{
|
|
|
|
if (anim.IsAnimationNotPlaying())
|
|
|
|
Destroy(gameObject);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|