void OnDestroy() { if (lingsClient != null) { lingsClient.Disconnect(); } }
void OnApplicationQuit() { networkClient.Disconnect(); }