20 lines
499 B
C#
20 lines
499 B
C#
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);
|
|
}
|
|
}
|
|
} |