public void UserLogin() { Command.Network.NetCommand.Login(UserName.text, Password.text); BookModelControl.SetCoverOpen(true); CameraViewControl.MoveToBookView(); BookModelControl.OpenToPage(PageMode.single); loginCanvas.SetActive(false); }
private void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { //BookControl.ClosePageAll(); BookModelControl.SetCoverOpen(false); CameraViewControl.MoveToInitView(); BookModelControl.OpenToPage(PageMode.none); loginCanvas.SetActive(true); } }