using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace RhythmHeavenMania.Editor { public class Editor : MonoBehaviour { private Initializer Initializer; [Header("Rect")] [SerializeField] private RenderTexture ScreenRenderTexture; [SerializeField] private RawImage Screen; private void Start() { Initializer = GetComponent(); GameManager.instance.GameCamera.targetTexture = ScreenRenderTexture; GameManager.instance.CursorCam.targetTexture = ScreenRenderTexture; Screen.texture = ScreenRenderTexture; } } }