티스토리 뷰
요즘엔 안 적어 놓으면 까먹는다.. ㅡ.ㅡ;
using UnityEngine;
using System.Collections;
public class Cmd_UI : MonoBehaviour {
public GUITexture PRF_Icon;
GUITexture[] CmdIcons = null;
// Use this for initialization
void Start () {
CmdIcons = new GUITexture[5];
for( int wi=0 ; wi<5 ; wi++ )
{
CmdIcons[wi] = Instantiate( PRF_Icon ) as GUITexture;
}
}
// Update is called once per frame
void Update () {
for ( int wi=0 ; wi<5 ; wi++ )
{
CmdIcons[wi].pixelInset =
new Rect( -Screen.width/2.0f, -Screen.height / 2.0f + 10.0f + wi * 34.0f, 32.0f, 32.0f );
}
}
void OnGUI()
{
}
}
'Programming > Unity3D' 카테고리의 다른 글
Unity3D 에니메이션 구성성(Facial Ani 및 Eye Tracking에 관하여) (0) | 2010.08.04 |
---|---|
Head Look Controll (0) | 2010.06.01 |
달쑤니.. 이동과 충돌, 간단한 파티클까지.. (0) | 2010.05.25 |
Image selectionGrid (0) | 2010.05.24 |
Unity3D 로 만들어본 케릭 자동 이동.. (0) | 2010.05.17 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 실바웰드
- 유니티3D
- 하이브리드
- 타석스크린
- 유니티
- Unity3D
- 웰케라
- 진공관
- 6bq5
- 송신기
- KT-88
- 수신기
- 타격연습기
- iPhone
- bias
- KT88
- 250
- 앰프
- 2a3
- 하니비
- gaui
- 프리앰프
- EP200
- 스윙팡
- transistor
- hybrid
- ep-200
- 시뮬전용
- TRex
- rx-2404
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함