You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Feel/MMFeedbacks/Demos/MMFeedbacksDemo/Scripts/DemoGhost.cs

20 lines
417 B
C#

2 months ago
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);
}
}
}