123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class EditorImageBJMove : MonoBehaviour
- {
- // Start is called before the first frame update
- public Transform ImageTarget;
- void Start()
- {
-
- }
- // Update is called once per frame
- void Update()
- {
- if(GameManager.Instance.isEditor)
- {
- transform.position = ImageTarget.position;
- transform.eulerAngles = ImageTarget.eulerAngles;
- }
- }
- }
|