'2015/01'에 해당되는 글 17건

  1. 2015.01.27 cocos2d-x 일본 github 소스
  2. 2015.01.16 GTune MKF40
  3. 2015.01.14 unity3d Can Transition To Self
  4. 2015.01.10 인터페이스 관련 글
  5. 2015.01.10 unity3d Interface 사용 충돌체크 처리.
  6. 2015.01.09 GetComponent 와 SendMesage 속도 비교
  7. 2015.01.07 visual studio 2013 무료 버전..
  8. 2015.01.06 bmfont 에서 사용되는 한글 모음 text 파일.
  9. 2015.01.04 unity3d stealth 적의 시야 관련 스크립트
  10. 2015.01.04 unity3d Animator 상태 변이가 일어나는지 여부 판단.

cocos2d-x 일본 github 소스

|

https://github.com/syuhari/cocos2dx_recipe

Trackback 0 And Comment 0

GTune MKF40

|

GTune MKF40


한성 기계식 키보드


Trackback 0 And Comment 0

unity3d Can Transition To Self

|

The transition from "Any State" to "Shoot" has a check box "Can Transition To Self". That should be checked so that Shoot can transition to itself when you fire from the Shoot state.

I'm not sure what the best way to do this would be if you didn't have the "Any State" transition though. Might have to do it in script somehow.



이걸 체크하면. 자기자신이 실행 되는 중에도 다시 실행시킬수 있다.(any state의 경우에)

any state의 경우에는 쌍방향 트랜잭션이 되지 않고 일방통행이다 anystate -> 특정 애니메이션으로.

원래는 계속 특정애니메이션이 실행되는데 이걸 체크해주면 trigger시 다시 anystate ->특정 애니메이션 처리가 된다.



Trackback 0 And Comment 0

인터페이스 관련 글

|
http://www.cjonesdev.com/blog/unity-getcomponentlttgt-and-interfaces
Trackback 0 And Comment 0

unity3d Interface 사용 충돌체크 처리.

|

GetComponent 는 4가지 방법이 있음.
typeof로 검색하는 getComponet가 있음..
typeof로 검색하고 실행 하면됨.


Trackback 0 And Comment 0

GetComponent 와 SendMesage 속도 비교

|

출처 : http://forum.unity3d.com/threads/which-is-faster-sendmessage-or-getcomponent.103995/



I found that with 2000000 iterations I averaged:

double lastSendMessage; 1.09 - 1.12 seconds
double lastGetComponent; 0.42 - 0.46 seconds
double lastSendMessageVerified; 1.1 - 1.12 seconds
double lastGetComponentVerified; 0.5 - 0.52 seconds
double lastGetComponentVerifiedViaTag; 5.9 - 6.2 seconds

Trackback 0 And Comment 0

visual studio 2013 무료 버전..

|

http://www.visualstudio.com/products/visual-studio-community-vs


이름은 Pro 버전등과 구분하기 위해서인지 Visual Studio Community 2013 이라고 이름을 지었네요.

Trackback 0 And Comment 0

bmfont 에서 사용되는 한글 모음 text 파일.

|


KS1001.txt


Trackback 0 And Comment 0

unity3d stealth 적의 시야 관련 스크립트

|








Trackback 0 And Comment 0

unity3d Animator 상태 변이가 일어나는지 여부 판단.

|
public bool IsInTransition(int layerIndex);

Parameters

layerIndexThe layer's index.

Description

Is the specified AnimatorController layer in a transition.




메카님 애니메이션을 제어할시 .

SetBool 등을 사용해서 Transition(상태 전환) 이 일어나는지 여부 판단.

파라메터에는 레이어 인덱스를 넣어서 해당 레이어에서 상태 전환이 일어나는지 판단을 한다.

ex) 상태 전환이 일어날때 소리를 내기.

if(anim.IsInTransition(0) && !audio.isPlaying)

{

      audio.Play();

}



Trackback 0 And Comment 0
prev | 1 | 2 | next