본문 바로가기
💯Study/🎮Unity

유니티(Unity) - 당근로켓 첫 번째 2022/06/09

by 개발종권 2022. 7. 15.

수업시간에 배운 것 : 

책 "레트로의 유니티" 3부 탄막 슈팅 게임 _ 닷지 응용 (215 page)

 

1)  Material (마테리얼) 개념, 생성 및 활용

2) 기본 3D Object를 활용한 레벨 디자인 (맵, 벽 등등)

3) 플레이어 Tag관리, Rigid Body 컴포넌트 활용, 플레이어 조종(C# 스크립트)

4) Update / Input.GetKey /SetActive 메서드 활용, 사용자 정의 메서드 추가( Die() )

5) GameObject(타입) 과 gameobject(변수) 의 차이

6) Public 변수 대신 GetComponet 메서드 활용

7) Input.GetKey 대신 Input.GetAxis 활용

8) AddForce() 메서드 대신 velocity 값 변경 (관성 적용 유무)

9) InputManager 활용

10) Collider 의 isTrigger 기능 활용

11) 투사체의 Prefab 생성, 관리 및 활용

12) OnCollision, OnTrigger 메서드 활용

13) FindObjectOfType 메서드 활용 (public 변수 할당해서 드래그 하는 대신 편하게)

14) Update 매서드 내에서의 Time.deltaTime 활용

15) Instantiate 매서드와 프리팹의 활용

16) Destroy 매서드 활용

 

과제 : 

수업시간에 한것을 토대로 각자 맘에 드는 에셋으로 따로 프로젝트를 만들기.

 

결과물 :

 

유튜브

https://www.youtube.com/watch?v=f__injQN6bk

 

 

과제에 참고한 자료들 : 

 

1) 사용한 에셋

 

https://assetstore.unity.com/packages/3d/characters/animals/white-rabbit-138709

 

White Rabbit | 3D 동물 | Unity Asset Store

Elevate your workflow with the White Rabbit asset from Niwashi Games. Find this & other 동물 options on the Unity Asset Store.

assetstore.unity.com

 

 

https://assetstore.unity.com/packages/3d/environments/landscapes/low-poly-simple-nature-pack-162153

 

Low-Poly Simple Nature Pack | 3D 풍경 | Unity Asset Store

Elevate your workflow with the Low-Poly Simple Nature Pack asset from JustCreate. Find this & other 풍경 options on the Unity Asset Store.

assetstore.unity.com

 

 

 

https://assetstore.unity.com/packages/3d/props/food/3d-props-adorable-foods-31249

 

3D Props - Adorable Foods | 3D 음식 | Unity Asset Store

Elevate your workflow with the 3D Props - Adorable Foods asset from Layer Lab. Find this & other 음식 options on the Unity Asset Store.

assetstore.unity.com

 

 

 

https://assetstore.unity.com/packages/3d/props/industrial/low-poly-missile-launcher-211434

 

Low Poly Missile Launcher | 3D 산업도구 | Unity Asset Store

Elevate your workflow with the Low Poly Missile Launcher asset from White Owl Studios. Find this & other 산업도구 options on the Unity Asset Store.

assetstore.unity.com

 

 

 

https://assetstore.unity.com/packages/3d/props/weapons/free-missile-72692

 

Free Missile | 3D 무기 | Unity Asset Store

Elevate your workflow with the Free Missile asset from Sabri Ayes. Find this & other 무기 options on the Unity Asset Store.

assetstore.unity.com