SetBtnPos.cs 314 B

1234567891011121314
  1. using UnityEngine;
  2. public class SetBtnPos : MonoBehaviour
  3. {
  4. [SerializeField] private GameObject SetBtn;
  5. void Awake()
  6. {
  7. SetBtn = GameObject.Find("SetBtn");
  8. if (SetBtn != null)
  9. {
  10. // SetBtn.transform.parent = OpenXRCamera.Instance.head;
  11. }
  12. }
  13. }