Files
Continentis/Assets/OtherPlugins/Feel/MMFeedbacks/Demos/MMFeedbacksDemo/Scripts/DemoGhost.cs

21 lines
441 B
C#
Raw Normal View History

2025-10-03 00:02:43 -04:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.Feedbacks
{
/// <summary>
/// A class used on the MMFeedback's demo ghost
/// </summary>
[AddComponentMenu("")]
public class DemoGhost : MonoBehaviour
{
/// <summary>
/// Called via animation event, disables the object
/// </summary>
public virtual void OnAnimationEnd()
{
this.gameObject.SetActive(false);
}
}
}