private void OnDestroy() { if (Singleton == this) { DiscordAPI.UnregisterEventsHandler(this); DiscordAPI.Stop(); Singleton = null; } }
private void OnDestroy() { if (Singleton == this) { DiscordAPI.UnregisterEventsHandler(this); DiscordAPI.Stop(); Singleton = null; } }