12345678910111213141516171819 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class UIRootOnEnable : MonoBehaviour
- {
- public UIMove uiMove;
- public Transform head;
- private bool init = false;
- private void Update()
- {
- // transform.position = new Vector3(head.position.x,0,head.position.z) + new Vector3(0, 1.5f, 1.5f);
- //Vector3 pos = head.forward * 1.5f;
- //transform.position = new Vector3(pos.x,0,pos.z) + new Vector3(0, 1.5f, 0);
-
- }
- }
|