SamsonGame/Assets/Sources/Feel/MMFeedbacks/Demos/MMFeedbacksDemo/Scripts/DemoGhost.cs

20 lines
499 B
C#
Raw Normal View History

2021-12-29 20:50:11 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.Feedbacks
{
/// <summary>
/// A class used on the MMFeedback's demo ghost
/// </summary>
public class DemoGhost : MonoBehaviour
{
/// <summary>
/// Called via animation event, disables the object
/// </summary>
public virtual void OnAnimationEnd()
{
this.gameObject.SetActive(false);
}
}
}