찾기
내용으로 건너뛰기
추적
문서의 이전 판을 선택했습니다!
저장하면 이 자료로 새 판을 만듭니다.
미디어 파일
======Storing and loading binary data in an AssetBundle====== The first step is to save your binary data file with the ".bytes" extension. Unity will treat this file as a [[ScriptRef:TextAsset.html|TextAsset]]. As a TextAsset the file can be included when you build your AssetBundle. Once you have downloaded the AssetBundle in your application and loaded the TextAsset object, you can use the .bytes property of the TextAsset to retrieve your binary data. <file csharp>string url = "http://www.mywebsite.com/mygame/assetbundles/assetbundle1.unity3d"; IEnumerator Start () { // Start a download of the given URL WWW www = WWW.LoadFromCacheOrDownload (url, 1); // Wait for download to complete yield return www; // Load and retrieve the AssetBundle AssetBundle bundle = www.assetBundle; // Load the TextAsset object TextAsset txt = bundle.Load("myBinaryAsText", typeof(TextAsset)) as TextAsset; // Retrieve the binary data as an array of bytes byte[] bytes = txt.bytes; }</file> [[AssetBundlesIntro|back to AssetBundles Intro]] {{tag>유니티 unity}} * 출처: [[http://unitykoreawiki.com/index.php?n=KrMain.binarydata|유니티코리아위키]] (CC BY-NC-SA 2.0)
저장
미리 보기
취소
편집 요약
참고: 이 문서를 편집하면 내용은 다음 라이선스에 따라 배포하는 데 동의하는 것으로 간주합니다:
CC Attribution-Noncommercial-Share Alike 4.0 International
연결문서
AssetBundles (Pro only)
유니티3D ( Unity3D )
문서 도구
문서 보기
이전 판
연결문서
맨 위로
다크 모드로 보기
☀️
Toggle Menu
유니티3D ( Unity3D )
너두 고쳐두 됩니다.
사이트 도구
최근 바뀜
미디어 관리자
사이트맵
사용자 도구
등록
로긴
최근 수정된 문서
배란유도 (Ovulation Induction)
[난포 터지는 주사]
정자회복플랜
[보충 루틴 (아침 기준)]
정액검사
↷ 링크가 이동 작업으로 인해 적응했습니다
의학 (Medicine)
↷ 링크가 이동 작업으로 인해 적응했습니다
정자회복플랜
↷ 문서 이름이 med:정자회복플랜에서 med:sperm_health(으)로 바뀌었습니다
자연 임신 확률
ESXi
[단점]
경구피임약 (Oral contraceptives)
[제품별 용량 및 성분]
위고비
목 디스크
돈으로 살 수 있는 것 (All that money can buy)
Death Stranding
[기타]
포진
[증상]
[Hsv Vaccine]
텅빈굴
저주받은 자들
만듦
사이버펑크 2077
[팬텀 리버티]