VRCivilisation2/Assets/gas33.cs

21 lines
390 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class gas33 : MonoBehaviour
{
public GameObject _Game;
public bool _b;
public bool _bo;
public void op()
{
if (_b)
{
_bo = true;
_Game.SetActive(true);
gameObject.GetComponent<BoxCollider>().enabled = false;
}
}
}