void OnDestroy() { /* Shuts down the working instance of GalaxyPeer. * NOTE: Shutdown should be the last method called, and all listeners should be closed before that. */ GalaxyInstance.Shutdown(true); Instance = null; Destroy(this); }
void OnDestroy() { /* Shuts down the working instance of GalaxyPeer. * NOTE: Shutdown should be the last method called, and all listeners should be closed before that. */ GalaxyInstance.Shutdown(true); Instance = null; Destroy(this); }