728x90 VideoPlayer1 VideoPlayer 재생 영상 사이즈 아는 법 public VideoPlayer _video; public RawImage _texture; public void VideoPlayFunc(string _url) { _video.url = _url; StartCoroutine(SizeCheck()); } IEnumerator SizeCheck() { _video.Prepare(); while(!_video.isPrepared) { yield return null; } _video.Play(); _texture.texture = _video.texture; Debug.Log(_texture.textrue.width); } 2022. 3. 18. 이전 1 다음 SMALL