16 lines
314 B
C#
16 lines
314 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.Events;
|
||
|
|
|
||
|
|
public class AgeIndication : MonoBehaviour
|
||
|
|
{
|
||
|
|
public UnityAction OnCompleteHide;
|
||
|
|
|
||
|
|
public void OnCompleteAgeIndicationHide()
|
||
|
|
{
|
||
|
|
OnCompleteHide?.Invoke();
|
||
|
|
Destroy(gameObject);
|
||
|
|
}
|
||
|
|
}
|