Pink/Assets/Graphics/Hero Knight - Pixel Art/Demo/DestroyEvent_HeroKnight.cs

14 lines
334 B
C#
Raw Normal View History

2020-09-23 00:54:30 +01:00
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);
}
}