22 lines
387 B
C#
22 lines
387 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class gas11 : 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;
|
|
}
|
|
}
|
|
}
|