void OnSavePicture() { rtt.SaveTex2D((Texture2D)RawImage_Pic.GetComponent <RawImage>().texture); OnCancelTakePicture(); }