1234567891011121314151617181920212223 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using ChivaXR;
- public class RuningJumpProcess_Example : MonoBehaviour
- {
- // Update is called once per frame
- void Update()
- {
- if ((Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.RightControl)) && Input.GetKeyDown(KeyCode.LeftArrow))
- {
- ProcessManagement.Instance.PreProcessState();
- ProcessManagement.Instance.ActiveCurrentProcess();
- }
- if ((Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.RightControl)) && Input.GetKeyDown(KeyCode.RightArrow))
- {
- ProcessManagement.Instance.NextProcessState();
- ProcessManagement.Instance.ActiveCurrentProcess();
- }
- }
- }
|