환의 게임 정보글

  • 홈
  • 태그
  • 방명록

HP 1

UI - Sprite, Image 통해 HP 게이지 표현하기

이번엔 UI의 Image에 Sprite를 사용하여 게임의 HP(체력)를 표현해 보겠습니다. 우선 준비물로 Sprite파일이 하나 필요합니다.전 위의 Sprite 파일을 사용할겁니다. 이 파일의 Inspector 창에서 다룰 것들입니다.Texture Type: 해당 스프라이트, 이미지 파일의 텍스쳐의 타입을 정하는 것입니다. 이번 글에서는 HP만을 다룰 것이기 때문에 Sprite(2D and UI)로 지정했습니다.Sprite Mode: 위의 이미지 파일에는 여러 가지 요소들이 함께 포함되어 있습니다. 필요한 걸 잘라 사용할 것이기 때문에 Multiple로 지정합니다. (한 가지 요소 파일이라면 Single)Generate Physics: 물리적 요소인가에 대한 ON/OFF 기능입니다. OFF로 지정하겠습니..

유니티(Unity) 프로그래밍 2024.10.21
이전
1
다음
더보기
프로필사진

환의 게임 정보글

김제환 개인용 게임 프로그래밍, 기획 정보 모음 블로그

  • 분류 전체보기 (56)
    • 게임 분석 (0)
    • 프로그래밍 C언어 (28)
    • 프로그래밍 C#언어 (11)
    • 프로그래밍의 이해 (0)
    • 유니티(Unity) 프로그래밍 (16)

Tag

stack #queue #prefabs #unity, insertion sort #삽입 정렬 #인덱스 #프로그래밍, axis #translate #axis # horioztal #vertical #unity, coupling #상속 #소유 #?. #null #프로그래밍 #c#, animation #unity #animator #sprite, c# #객체 #인스턴스 #메서드 #객체 지향, struct #구조체 #point #포인터 #method #메서드 #cs #c# #프로그래밍, 대리자 #delegate #스폰지밥, 문자열 #string #garbage #+, 버블 정렬 #bubble sort #프로그래밍, datatype #signed #unsigned #c# #프로그래밍, quick sort #퀵 정렬 #pivot #피벗, c# #array #jagged array #배열 #다차원 배열 #프로그래밍, -= #time.deltatime #frame #random #프로그래밍 #유니티 #게임, picking #prefab #rotate #position #unity3d #vector3, animation #animator #prefabs #humanoid, interface #destroy #instantiate #random #serializefield #프로그래밍 #c# #유니티 #unity3d, generic #template #데이터 타입 #single #double #type #프로그래밍 #c#, 추격 #추적 #딸깍 #vector3 #벡터 #연산 #normalize #정규화 #time.deltatime #프로그래밍 #유니티, cast #trigger #collision #collider #picking #layer #unity3d, delegate #대리자 #function pointer #함수 포인터 #중개업 #프로그래밍 #c, 클래스 #자식 #부모 #abstract #interface #override #overload #virtual #형변환 #c# #프로그래밍, button #image #ui #font #text #unity, 절두체 #frustum #gta #카메라 #rendering #렌더링 #유니티 #unity, unity3d #rigidbody #collider #trigger #getkey #transform #position #프로그래밍, angle #second #minute #hour #mathf #cos #sin #degree #radian #unity #시계, inheritance #상속 #parent #부모 #child #자식 #class, ui #canvas #unity, 상속 #inheritance #부모 #자식 #class #프로그래밍, 대리자 #delegate #boxing #unboxing #generic #제네릭 #컬렉션 #collection #익명 #무명 #메서드 #method #프로그래밍 #c#,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바