iTween DownLoad

http://u3d.as/content/pixelplacement/i-tween/1s9

 

 iTween Visual Path Editor

http://pixelplacement.com/2010/12/03/visual-editor-for-itween-motion-paths/

 

(비슷한거 LeanTween)

 

대강 사용방법은 알았는데

Path 끝나고 나서 끝났다는 것을 알려주는 방법과 그 후처리를 하기 위해서

찾아보다가

 

iTween Hash String

HashTable은 Key, Value를 한쌍으로 하는 자료구조

iTween.Hash()함수를 통하여 넘기거나 직접 HashTable을 작성해서 넘긴다

 

 

ex1)

HashTable hash = new Hashtable();

hash.Add("position", Vector3.zero);

hash.Add("onstart", "ITweenStart");

 

iTween.MoveTo(gameObject, hash);

 

ex2)

iTween.MoveTo(gameObject, iTween.Hash

("path", iTweenPath.GetPath("PathName")

, "time", 20.0f

, loottime", 0.1f)

);

 

 

참고 자료 출처:

http://blog.naver.com/thanksyo?Redirect=Log&logNo=140204908632

http://cafe.naver.com/spgamecreate/207

 

 

'[모바일] > 유니티' 카테고리의 다른 글

[Unity] 해상도 조정  (0) 2014.03.18
[Unity] object setactive instantiate 비교  (0) 2014.03.11
[Unity] iTween easetype  (0) 2014.02.21
[Unity] NGUI 사용하기  (0) 2014.02.18
[Unity] 타이머 만들기  (0) 2014.02.15
Posted by 그르릉푸딩

블로그 이미지
그르릉푸딩

태그목록

공지사항

Yesterday
Today
Total

달력

 « |  » 2024.5
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

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함