1234567891011121314151617181920 |
- using SC.XR.Unity.Module_InputSystem;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class ShowPos : MonoBehaviour
- {
- public TextMesh textMesh;
- public Transform nag;
- public GameObject ggt26Dof;
- void Update()
- {
- transform.position = nag.position + new Vector3(0, 0.04f, 0);
- textMesh.text = transform.position.ToString();
- //if (!ggt26Dof.activeSelf)
- // Module_InputSystem.instance.SetActiveInputDevice(InputDeviceType.GGT26Dof, true);
- }
- }
|