void Start() { Instance = this; camera.enabled = true; camera.targetTexture = Texture = new RenderTexture(Screen.width, Screen.height, 0, RenderTextureFormat.ARGB32); parent = transform.parent; }
void Start() { Instance = this; camera.enabled = true; camera.targetTexture = Texture = new RenderTexture(Screen.width, Screen.height, 0, RenderTextureFormat.ARGB32); parent = transform.parent; }