-
[유니티] 빌드 시 영상 플레이 안됨 해결방법게임 개발 2020. 11. 9. 17:37
구글링 하다보니 어떤 Gradle 압축 과정에서 나오는 오류라고 한다.
Assets에 StreamingAssets 파일 만들어 동영상 파일들 넣고
스크립트에
public VideoPlayer video;
void Start()
{
video.url=Application.streamingAssetsPath+"/[파일이름].mp4"
}
으로 작성하면 잘 된당~~
'게임 개발' 카테고리의 다른 글
[해커톤] MaKING_JAM (Solar & Luna) (0) 2020.11.14 [유니티] 화면 비율 고정 (0) 2020.11.09 [GitHub] merge시 충돌 코드 처리하기 (0) 2020.09.03 [유니티] 중심 회전하다 클릭하면 직진하기 (0) 2020.01.28 [유니티] 플레이_오브젝트 레이어 설정 (0) 2020.01.16