123456789101112131415161718 |
- /****************************
- summary:
- ****************************/
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class SceneRoot : MonoBehaviour
- {
- public Transform a;
- private void FixedUpdate()
- {
- transform.eulerAngles = a.eulerAngles;
- transform.position = a.position;
- }
- }
|