일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- FIND
- awk
- Unity
- sql
- pandas
- Shader
- C++
- if
- DROP
- SVN
- pi
- null
- ngui
- 배열
- dataframe
- List
- python
- Eclipse
- with
- sqlite
- SSH
- mysql
- expect
- postgresql
- 쉘
- c++11
- ubuntu
- conda
- autovacuum
- boost
- Today
- Total
목록프로그래밍/Unity (43)
その先にあるもの…
prefab에 새로운 매터리얼을 만들어 변경하고 나면 커밋할 prefab파일이 변경되지 않아 올리지를 못하는 상황이 생긴다. prefab파일을 직접 수정하지 말고 Hierarchy에 올려서 수정한 다음 apply로 변경하고 프로젝트 세이브를 하고 나면 파일이 prefab파일이 변경되어 진다.
Random.Range 중 코드의 함수 인자 설명은 최대값이 포함이라고 하는데 홈페이지 설명은 제외라고 되어있다. 홈페이지가 맞음. Random.Range( 0, 10 )이면 10은 나오지 않는다.
NGUI 유용한 링크Alpha-based hit detection Nicki's Depth Management system Improved Localization System How to make health bars Action Bar system Packed Font with Outline/Shadow Font using Alpha-tested magnification (Valve's approach) Atlas switching / DPI control Atlas switching NGUI & FingerGestures Sliced & tiled sprite Photoshop -> NGUI Scale UIRoot based on width as well as height HTML in NGUI Dy..
[RPC] Send_A() { networkView.RPC( "FuncA", RPCMode.All, null );} } void FuncA() { Debug.Log("FuncA"); Send_B(); } [RPC] Send_B() { networkView.RPC( "FuncB", RPCMode.All, null );} } void FuncB() { Debug.Log("FuncB"); } [RPC] Send_C() { networkView.RPC( "FuncC", RPCMode.All, null );} } void FuncC() { Debug.Log("FuncC"); } void Send() { Send_A(); Send_C(); } 결과 FuncB FuncA FuncC 패킷 순서 보장한다고 하여 위 코드..
겹쳐진 버튼 오브젝트들 위에 마우스를 올려보면 겹쳐진 오브젝트이 반응한다. 처리 방법 중 한개 하나의 버튼 오브젝트를 다른 판넬에 넣어두면 동시에 반응하지 않는다.
void func(){object[] param = new object[2]{ 1, 2.0f };StartCoroutine("ParamCoroutine", param);} IEnumerator ParamCoroutine( obejct[] param ){int i = (int)param[0];float j = (float)param[1];yield return ;} void StopCoroutine(){StopCoroutine("ParamCoroutine");}