Disable editor network bootstrap in builds; tune scenes and paint HUD panel

NetworkBootstrap now destroys itself outside the editor. Camera FOV/background
tweaks in Main, lobby light intensity, and paint HUD panel font/color polish.
This commit is contained in:
admin committed 2026-06-28 15:51:49 +02:00
1 parent f11fbc8c1c
commit 4e27b1e729
4 files changed
+28 -19

No files matched your search

+10 -1
View File
@@ -24,7 +24,16 @@ public class NetworkBootstrap : MonoBehaviour
private NetworkManager _net;
private void Awake() => _net = GetComponent<NetworkManager>();
private void Awake()
{
if (!Application.isEditor)
{
Destroy(this);
return;
}
_net = GetComponent<NetworkManager>();
}
private void Update()
{