버전
Timeline is Unity's cinematic editting tool. It can be used to create game-play sequences, audio sequences, and other cinematic content.
For more information on Timeline refer to Timeline Docs.
For instructions on how to create a Timeline Asset and Timeline instance, refer to Timeline Usage.
The Wwise Unity Integration adds two tracks: the AkRTPC track and the AkEvent track. The AkRTPC track is used to set Game Parameter values, and the AkEvent track is used to post Wwise Events. AkRTPC tracks and AkEvent tracks can be added to a Timeline in Unity using the "Add" dropdown button.
Adding AK tracks to Timeline
AkEvent tracks and AkRTPC tracks have object bindings which can be set to any Game Object. If this is left as None, the Event messages or RTPC messages in the track will be triggered on the Game Object that owns the Timeline (this is the Game Object that has a PlayableDirector component, which is used to trigger the Timeline). If the track binding is set to a different Game Object, the messages will be triggered on that Game Object.
AkRTPC tracks have one property in their property inspector: Parameter. This is the Wwise RTPC parameter that will be set from the various clips in the track.
RTPC Track Parameter Property
The AkEvent track and the AkRTPC tracks each hold corresponding clips: the AkEventPlayable clip and the AkRTPCPlayable clip. These can be added to a track using the track's menu.
Adding AK clips to AK tracks
All clips in Timeline have timing properties that are displayed in the top portion of the inspector. For more information on these properties, refer to Clip Properties.
The following properties are accessible from the inspector of an AkRTPCPlayable clip:
AkRTPCPlayable Clip Properties
Animating RTPC Values from Timeline
Following these steps will insert a keyframe into the RTPC track, below the RTPC clip. You can then use this Unity curve editor to add more keyframes. The keyframes have a context menu that can be used for more precise values.
RTPC Keyframe Context Menu
Editting RTPC Keyframe Values
The following properties are accessible from the inspector of an AkEventPlayable clip:
AkEventPlayable Clip Properties
Currently scrubbing is only supported in Play mode in the Unity editor. This is due to an issue with Unity Playable callbacks in edit mode. Unity are aware of the issue: 953109. This means that "Play from anywhere" behavior is not supported in edit mode either. If you place the playhead somewhere between the beginning and end of a clip and play the timeline, while in edit mode, the event will not be triggered.
To ensure that Event lengths are properly represented in the AkEvent Tracks, the Wwise project needs to be set up to estimate the duration of its audio Events and JSON metadata must be generated. To enable these project-wide settings, go to the Project Settings' SoundBanks tab. Enable the Estimated duration check box within the Metadata Options group box and enable the Generate JSON Metadata check box within the SoundBank Settings group box, as seen below.
Required Project Settings for AkEvent Tracks
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요