private void Update() { if (this.autoTriggerAfterLaunch) { this.autoTriggerElapse += Time.deltaTime; if (this.autoTriggerElapse >= this.autoTriggerDelay) { this.autoTriggerAfterLaunch = false; OVRCubemapCapture.TriggerCubemapCapture(base.transform.position, this.cubemapSize, this.pathName); } } if (Input.GetKeyDown(this.triggeredByKey)) { OVRCubemapCapture.TriggerCubemapCapture(base.transform.position, this.cubemapSize, this.pathName); } }