12 lines
226 B
C#
12 lines
226 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class DisableOnAnimationEvent : MonoBehaviour
|
|
{
|
|
public void OnAnimationEnded()
|
|
{
|
|
this.gameObject.SetActive(false);
|
|
}
|
|
}
|