using System.Collections; using System.Collections.Generic; using UnityEngine; public class RepositeAxis : MonoBehaviour { [SerializeField] GameObject plotSpace; public void repositeAxis() { Camera cam = Camera.main; plotSpace.transform.position = cam.transform.position + cam.transform.forward * 5.0f; plotSpace.transform.rotation = new Quaternion(0,0,0,0); } }