void TakePicture() { RawImage_Pic.GetComponent <RawImage>().texture = rtt.CaptureCamera(new Camera[] { Camera_BackUI }, new Rect(0, 0, Screen.width, Screen.height)); Canvas_FrontUI.SetActive(false); SwitchPicGos(true); }