UNITY | PROJECT | RPG Tutorial |10. Cut Scenes

2
Creating “FadeIn”
  • create FadeIn  from UI – RawImage
  • set Anchor into Stretched
3
Creating Anmaition
4
Creating Animation
5
Creating Animation
6
Creating Animation
  • create Animation
    • in 0th frame, set the opacity to 1(255)
    • in 60th frame, set the opacity to 0(0)
  • add Animation Component
    • turn on Legacy
    • set Wrap Mode into Once
5-1
FadeIn Working
7
Creating Scene Camera
8
Creating Scene Camera
9.png
Creating Scene Camera
10
Creating Scene Camera
11
Creating Scene Camera
12
Creating Scene Camera
13.png
Creating Scene Camera
14
Creating Scene Camera
15
Creating Scene Camera
16
Creating Scene Camera

17

18.png
Creating Scene Camera
  • add Scene Cameras
    • add Animations to each Camera by changing Transform.Position or Transform.Rotation for 5 sec(300 frames)
  • add Animation Component
    • turn on Legacy
    • set Wrap Mode into Once
  • turn Camera2  and Camera3
19
Creating “FadeOut”
20
Creating “FadeOut”
21
Creating “FadeOut”
22
Creating “FadeOut”
23
Creating “FadeOut”

24

25
Adding BGM
26
Creating Scene Object
  • add Scene01  from Empty GameObject
10. Cut Scenes
“Scene01” Script
  • create Variables for Gameobjects
  • in Start() method,
    • get the Coroutine started by using StartCoroutine() for the coroutine start from the first frame
  • create IEnumerator
    • automatically, in the first frame, FadeIn and Camera1 starts
    • wait for specific time considering the duration of each Animation
    • for the last moment, turn on Player
26-1
Cut Scene Working
2
Adding Place Name with UI Text
2-1
UI Working