// Update is called once per frame void Update() { // Ray ray = new Ray(transform.position, transform.forward); if (ctrlZAction.GetStateDown(trackedObj.inputSource)) { renderer.RevertLastCube(); } }