private static void Initialize() { if (_initialized) return; _initialized = true; var g = new GameObject("Dispatcher_9B34C3FE-BA8F-4CB9-991C-F9BD70CCD286"); _instance = g.AddComponent<Dispatcher>(); }
public void OnDisable() { if (_instance == this) _instance = null; }