Finished up improving static object colliders. Added network improvements to interactions, still half-baked.
This commit is contained in:
@@ -24,7 +24,7 @@ public class NetworkMenuUI : MonoBehaviour
|
||||
public Button reloadButton;
|
||||
public Button joinMultiplayerButton;
|
||||
public Transform serverListContainer;
|
||||
public GameObject serverListItemPrefab;
|
||||
public GameObject IPButton;
|
||||
public TMP_Text statusText;
|
||||
public Button quitButton;
|
||||
|
||||
@@ -55,6 +55,7 @@ public class NetworkMenuUI : MonoBehaviour
|
||||
PlayerPrefs.Save();
|
||||
Debug.Log($"UseVR set to {_useVR}");
|
||||
});
|
||||
//networkDiscovery.StartSearchingForServers();
|
||||
|
||||
startPlayingButton.onClick.AddListener(OnStartPlaying);
|
||||
reloadButton.onClick.AddListener(OnReload);
|
||||
@@ -152,7 +153,7 @@ public class NetworkMenuUI : MonoBehaviour
|
||||
|
||||
uiCamera.enabled = false;
|
||||
Debug.Log("Disabled placeholder audio source");
|
||||
placeholderAudioListener.enabled = false;
|
||||
//placeholderAudioListener.enabled = false;
|
||||
//coverImage.gameObject.SetActive(false);
|
||||
|
||||
InstanceFinder.ClientManager.StartConnection(endPoint.Address.ToString());
|
||||
@@ -161,7 +162,7 @@ public class NetworkMenuUI : MonoBehaviour
|
||||
}
|
||||
|
||||
Debug.Log("Server is foregin");
|
||||
GameObject item = Instantiate(serverListItemPrefab, serverListContainer);
|
||||
GameObject item = Instantiate(IPButton, serverListContainer);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user