feat: particles and new bank
This commit is contained in:
parent
349552674d
commit
60265f3417
220 changed files with 13248 additions and 4917 deletions
15
Assets/Scripts/View/Scene/GrowParticle.cs
Normal file
15
Assets/Scripts/View/Scene/GrowParticle.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using Presenter;
|
||||
using UnityEngine;
|
||||
using Animator = FramedAnimator.Animator;
|
||||
|
||||
namespace View.Scene {
|
||||
public class GrowParticle : MonoBehaviour {
|
||||
[SerializeField] private Animator animator;
|
||||
|
||||
private void Start() {
|
||||
animator.OnAnimationEnd += _ => Destroy(gameObject);
|
||||
animator.PlayUntil(1f);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue