Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J jyb-games
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • students
  • jyb-games
  • Wiki
  • 21.07.19

21.07.19 · Changes

Page history
Update 21.07.19 authored Jul 19, 2021 by 유승호's avatar 유승호
Hide whitespace changes
Inline Side-by-side
21.07.19.md
View page @ e874d45a
......@@ -12,8 +12,39 @@ Defense_Game 만들기
![image](uploads/34ef765bedfa9a9ce3d0129313dc8282/image.png)
> ### 2.Animation 만들기
* Animator Controller 만들고 그 안에 Animation(State)를 넣어준다
![image](uploads/5955b59ae1d2ebddf217c3d02b08e92f/image.png)
* Animation을 sprite를 이용해서 만들어 준다
![image](uploads/c1bd9e3dfb9a90df521cfba9b12c8af4/image.png)
* 다른 animation을 Transition을 만들어 연결 해준다
* parameter를 이용해 type별로 조건을 만들고 transition에서 조건을 설정
![image](uploads/e1184c08a668d9f4dabda395eab14f37/image.png)
![image](uploads/e6233bab6d83e450fbd72388c781b93b/image.png)
* Tower prefab에 Animator component를 추가하고 Controller를 추가해준다
![image](uploads/0042fe190d155aaeaea7ab7b99fd3916/image.png)
* `Towerweapon.cs`에 animator추가
![image](uploads/6a2ddbb656eb5870efe594ac479b819c/image.png)
* 스크립트에서 타워 레벨에 따라 bool에 값을 넣어준다
![image](uploads/41b4965ae8c209262a1c2a5f92c927b6/image.png)
> ### 3.Audio 넣기
* Button에 Audio Source를 넣어주고 audio를 AudioClip에 넣어준다
![image](uploads/40353ad0a10bf3f5ba2cb6422f33e357/image.png)
* AudioSource를 받아서 audioSource.Play()를 실행
![image](uploads/11971daa3edcfbc37c61544bc66f7942/image.png)
![image](uploads/d8736260e48db376302b7a9591049b76/image.png)
* Button Object에 On Click()에 넣어준다
![image](uploads/1f7569e19cc64e48a6dc9e8a15f5f387/image.png)
* 배경 음악 깔기
Clone repository
  • 21.06.28
  • 21.06.30
  • 21.07.02
  • 21.07.05
  • 21.07.07
  • 21.07.09
  • 21.07.12
  • 21.07.14
  • 21.07.16
  • 21.07.19
  • 21.07.26 (1)
  • 21.07.26
  • 21.07.28 DH
  • 21.07.28 SJ
  • 21.07.28
View All Pages