using System.Collections; using System.Collections.Generic; using UnityEngine; using AX.NetworkSystem; public class CloseSession : MonoBehaviour { private void OnDestroy() { NetworkManager.DestroyAllSession(); } }