Super Knight : Enter the Dungeon
sked/Assets/Script/Map/HideActiveChanged.cs

12 lines
209 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HideActiveChanged : MonoBehaviour
{
private void OnDisable()
{
gameObject.SetActive(false);
}
}