How to make a gorilla tag fan game mirror 2024!!

Описание к видео How to make a gorilla tag fan game mirror 2024!!

My discord:  / discord  
Enable
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Enable : MonoBehaviour
{
public GameObject objectEnable;


public void OnTriggerEnter()
{
objectEnable.SetActive(true);
}
}
Disable
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Disable : MonoBehaviour
{

public GameObject objectDisable;


void OnTriggerEnter()
{
new WaitForSeconds(1);
objectDisable.SetActive(false);
}


void OnTriggerExit()
{
new WaitForSeconds(1);
objectDisable.SetActive(false);
}
}

Комментарии

Информация по комментариям в разработке