using UnityEngine; public class WorldManager : MonoBehaviour { public static WorldManager Instance { get; private set; } private void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(gameObject); Initialize(); } else { Destroy(gameObject); } } public static void Initialize() { } }