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:
1 parent
f11fbc8c1c
commit
4e27b1e729
4 files changed
+28
-19
No files matched your search
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user