using System.Collections; using System.Collections.Generic; using UnityEngine; public class JoinCollider : MonoBehaviour { public CustomNetworkManager networkManager; public GameObject door; private void OnTriggerEnter(Collider other) { door.SetActive(true); // networkManager.networkAddress = "localhost"; networkManager.StartClient(); } }