아래와 같이 하면 before yield after StartCoroutine after yield 의 순서로 출력된다. www 의 억세스가 마치 멀티스레드처럼 작동해서 작업을 마쳤는지 확인하려면 아래와 같이 해야 한다. public IEnumerator WaitForXML() { print( "before yield" ); yield return www; print( "after yield" ); xmlString = www.text; doXmlParse = true; } public void LoadNoteData() { string url = "file://TestNote.xml"; www = new WWW( url ); StartCoroutine( WaitForXML() ); print( "aft..
요는 byte Streaming 밖에 안되기 땜시 byte[] 형태로 변환 후 억세스가 가능하다. using UnityEngine; using System.Collections; using System.IO; using System.Runtime.InteropServices; public static void SaveNote ( BufferedStream bs, _st_NOTE nn ) { bs.Write( System.BitConverter.GetBytes(nn.ID), 0, 4 ); bs.Write( System.BitConverter.GetBytes( nn.PlayTime ), 0, 4 ); bs.Write( System.BitConverter.GetBytes(nn.MeasureCount), 0, ..
string url = "http://nine99.tistory.com/xxx.xml"; 이런식의 웹데이터도 읽어올 수 있다. 또한, ogg 같은 Sound Clip 도 읽어 올 수 있음.( mp3 나 wav 는 읽어올 수 없음, unity3D 에서 지원하지 않음) using UnityEngine; using System.Collections; using System.Xml; using System; public class XXX : monoBehaviour { stringxmlString; public IEnumerator WaitForXML() { yield return www; xmlString = www.text; print( xmlString ); } public void TestFunction..
트렁크를 뒤지다 보니 이게 나오네요.. ㅎㅎ(왜 트렁크에서 나온거냐? ㅡ.ㅡ;) 64180도, 8051도 버렸는데, 이것만 안버린거 봐선 저 정신없는 와이어링이 아까와서였던거 같습니다.. ㅎㅎ 뭔 정신에 만들었나 모르겠네요.. ㅡ.ㅡ; 그때 유행하던 8096계열의 16비트 마이크로프로세서인데.. 시리얼과 모터제어칩이 들어있지만, 많이 테스트는 못해봤었음.. SRAM 6264, ROM 27C64 프로텍터를 붙이지 않았으니 롬은 다 지워졌을거라 생각되네요..
- Total
- Today
- Yesterday
- 웰케라
- 타석스크린
- iPhone
- ep-200
- 시뮬전용
- 유니티3D
- 하니비
- 실바웰드
- 수신기
- rx-2404
- 타격연습기
- transistor
- 유니티
- 진공관
- 스윙팡
- gaui
- 2a3
- bias
- TRex
- 앰프
- EP200
- KT-88
- 6bq5
- 송신기
- hybrid
- 프리앰프
- 하이브리드
- 250
- KT88
- Unity3D
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |