Finished up improving static object colliders. Added network improvements to interactions, still half-baked.

This commit is contained in:
2025-11-08 21:52:54 +02:00
parent dddb082288
commit 50f758cc28
27 changed files with 4091 additions and 293 deletions

View File

@@ -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);