Scriptum/Assets/ManageExpBar.cs

19 lines
303 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ManageExpBar : MonoBehaviour
{
public GameObject levelNumber;
void OnEnable()
{
levelNumber.SetActive(false);
}
void OnDisable()
{
levelNumber.SetActive(true);
}
}