Super Knight : Enter the Dungeon
sked/Assets/Script/Common/UI/ObjectHide.cs

12 lines
201 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectHide : MonoBehaviour
{
public void OnHide()
{
gameObject.SetActive(false);
}
}