using System.Collections; using System.Collections.Generic; using Unity.Netcode; using UnityEngine; using UnityEngine.SceneManagement; public class KickBackToSetup : MonoBehaviour { private void OnEnable() { if (NetworkManager.Singleton != null) return; SceneManager.LoadScene(0); // Kick back to setup scene if MultiplayManager not initialized Debug.Log("Back to setup scene with you!"); } }