//Reconnect player when he buys a recharge void Reconnect() { Time.timeScale = 1; count_Disconnection = false; counter_Disconnection = maxTime_Disconnection; playerCO1.reconnectedBool = true; playerCO1.colliderCounter = playerCO1.reconnectedMaxTime; saveManager.BuyRecharge(1); allPanels.counter_Panel.SetActive(false); allPanels.uI_Panels_Manager.OpenInGame(1); allPanels.uI_Panels_Manager.OpenDisconnectionPanel(0); playerCO1.transform.Translate(new Vector3(0, 10, -20), Space.Self); playerCO1.transform.Rotate(new Vector3(0, 0, 0), Space.Self); Time.timeScale = 1; }