가장 쉬운 유니티 게임 제작

신승빈·2023년 7월 10일
0

Unity3d

목록 보기
1/7

유니티의 이해

Scene 전환

Scene전환 시 스크립트의 변수는 초기화됨
변수를 파일로 저장해놔야 함

GameManager Script File

GameManager라는 이름으로 Script file을 생성할 경우 톱니모양으로 Icon이 바뀌는데 특별하게 사용하는 목적이 있는건가?

Sprite

Editor에서 Sprite Texture를 분할해서 Sprite Animation으로 편집할 수 있음
Editor에서 UI Panel용 Sliced Image Type 제작 가능

Animation

Game 내에서 움직이는 Character, Cut Scene 등

Animation Clip

동작 1개를 의미
Animation은 다수의 Animation Clip으로 구성

Animation Component

현재는 Legacy

Animator

Animation Component 대체
State Machine으로 Clip 연결 등 Animation 제어
BP Animation과 비슷하다고 생각하면 될 듯

GameObject

사물, 인물, UI, Camera, 조명, 지형 등 배치되는 모든 것

Component

GameObject의 기능
GameObject는 Scene에 배치되야 하므로 최소 Transform Component를 보유

Renderer Component

Sprite, Mesh, Line, Trail, Canvas 등 눈에 보이도록 하는 과정을 실행하는 Component
Shader 교체, Albedo 수정 등 가능

Collider Component

충돌체

Rigidbody

물리 처리

Audio Component

Audio Source : 음원
Audio Listner : 귀

Script Component

파일명과 class이름이 일치해야 함

String type variable

Component의 String type은 edit시 rich Text를 지원

tag

b : Bold
i : Itallic
size : 크기
color : 색

profile
이상을 길잡이 삼아 로망을 추구합니다.

0개의 댓글