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/Red.cs
jmaniuvc 2936c48466 Frontec
2025-02-24 12:12:52 +09:00

24 lines
367 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Red : MonoBehaviour
{
public GameObject button;
public void Start()
{
button.SetActive(false);
}
public void ActiveTrue()
{
button.SetActive(true);
}
public void ActiveFalse()
{
button.SetActive(false);
}
}