mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:07:40 +02:00
Built to Scale: Gameplay implemented (missing lots of sfx)
This commit is contained in:
18
Assets/Scripts/Games/BuiltToScaleDS/BTSPiece.cs
Normal file
18
Assets/Scripts/Games/BuiltToScaleDS/BTSPiece.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
using RhythmHeavenMania.Util;
|
||||
namespace RhythmHeavenMania.Games.BuiltToScaleDS
|
||||
{
|
||||
public class BTSPiece : MonoBehaviour
|
||||
{
|
||||
public Animator anim;
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
if (anim.IsAnimationNotPlaying())
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user