http://answers.unity3d.com/questions/8910/customise-in-game-cursor.html
var cursorImage : Texture;
function Start() {
Screen.showCursor = false;
}
function OnGUI() {
var mousePos : Vector3 = Input.mousePosition;
var pos : Rect = Rect(mousePos.x,Screen.height - mousePos.y,cursorImage.width,cursorImage.height);
GUI.Label(pos,cursorImage);
}
'프로그래밍 > Unity3d' 카테고리의 다른 글
[스크랩]Unity3d 디컴파일 방지 (0) | 2012.09.21 |
---|---|
[Unity3d] 아이폰에서 동영상 플레이 하기. (0) | 2012.07.04 |
[Unity3d]2D스프라이트 메이커 입니다. Nolpan (0) | 2012.07.03 |
[Unity3d]CryptoTutorial (0) | 2012.06.15 |
[Unity3d]한글완성형 (0) | 2012.06.07 |