Pink/Assets/Hero Knight - Pixel Art/Demo/DestroyEvent_HeroKnight.cs
2020-09-23 00:54:30 +01:00

14 lines
334 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyEvent_HeroKnight : MonoBehaviour
{
// Destroy particles when animation has finished playing.
// destroyEvent() is called as an event in animations.
public void destroyEvent()
{
Destroy(gameObject);
}
}