public void CheckAutologin() { if (playerDataSaver.GetShouldAutologin() == 1) { Button btn = autologinSwitch.GetComponent <Button>(); btn.onClick.Invoke(); ClickToLogin(); } }