24 lines
367 B
C#
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);
|
|
}
|
|
}
|