This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Frontec/Assets/Scripts/SJM/Icon.cs
jmaniuvc 2936c48466 Frontec
2025-02-24 12:12:52 +09:00

29 lines
498 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static UnityEngine.Rendering.DebugUI;
public class Icon : MonoBehaviour
{
public bool panelState;
public GameObject icon;
void Start()
{
panelState = true;
icon.SetActive(true);
}
public void Active()
{
icon.SetActive(true);
panelState = true;
}
public void Destroy()
{
icon.SetActive(false);
panelState = false;
}
}