protected new void Update() { if (!sceneController.onRunning) { return; } if (!sceneController.onFlying) { if (!sceneController.TextMove()) { return; } if (sceneController.round % 2 == 0) { diskEmit = CCEmit.GetSSAction(); this.RunAction(DiskFactory.instance.getDisk(sceneController.round), diskEmit, this); } diskEmit = CCEmit.GetSSAction(); this.RunAction(DiskFactory.instance.getDisk(sceneController.round), diskEmit, this); } if (Input.GetMouseButtonDown(0)) { flag = true; } else if (Input.GetMouseButtonUp(0) && flag) { Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hitInfo; if (Physics.Raycast(ray, out hitInfo)) { GameObject gameObj = hitInfo.collider.gameObject; diskBreak = CCBreak.GetSSAction(); this.RunAction(gameObj, diskBreak, this); } } base.Update(); }