public static void Init() { RandomMyPeerID(); Socket.Init(); GetPrivateIPEndPoint(); if (AdvancedSettings.isSTUN) { StunIPEndPoint = Socket.GetSTUNResult(); isGetStunResult = true; } ManagersInit(); isInit = true; Debugger.Log("[UniP2PManager] Initialized"); }