프로퍼티 | 타입 | 설명 | |
---|---|---|---|
duration | float | ||
inPoint | float | ||
outPoint | float | ||
player | GameObject | ||
stopPlayer | bool | ||
subtitlePosition | Rect | ||
subtitleStyle | GUIStyle |
메소드 | 설명 | |
---|---|---|
AddTrack ( Cutscene, type ) : CutsceneTrack, |
Attaches a new track component to the cutscene.
|
|
DisableAudio ( ) : void |
Keeps all child audio sources from playing once the game starts.
|
|
DisableCameras ( ) : void |
Turns off all child cameras so that they don't display before the cutscene starts.
|
|
DisableOtherCameras ( Camera exemptCam ) : void |
Turns off all child cameras except for the one specified.
|
|
NewActor ( AnimationClip anim, GameObject go ) : CutsceneActor |
Creates a new CutsceneActor object and attaches it to a new game object as a child of the Shots game object.
|
|
NewAudio ( AudioClip clip ) : CutsceneAudio |
Creates a new CutsceneAudio object and attaches it to a new game object as a child of the Audio game object.
|
|
NewShot ( ) : CutsceneShot |
Creates a new CutsceneShot object and attaches it to a new game object as a child of the Shots game object.
|
|
NewSubtitle ( string dialog ) : CutsceneSubtitle |
Creates a new CutsceneSubtitle object and attaches it to the Subtitles game object.
|
|
OnDrawGizmos ( ) : void |
Visually shows the cutscene in the scene view.
|
|
OnGUI ( ) : void | ||
PauseCutscene ( ) : void |
Pauses the cutscene.
|
|
PlayActor ( CutsceneClip clip ) : void |
Plays the specified actor.
|
|
PlayAudio ( CutsceneClip clip ) : void |
Plays the specified audio.
|
|
PlayCutscene ( ) : void |
Starts playing the cutscene.
|
|
PlayShot ( CutsceneClip clip ) : void |
Shows the specified shot.
|
|
PlaySubtitle ( CutsceneClip clip ) : void |
Displays the specified subtitle.
|
|
SceneFinish ( ) : void |
Called when the scene ends.
|
|
SceneStart ( ) : void |
Called when the scene starts.
|
|
SetupMasterAnimationClip ( ) : void |
Sets the in and out points of the master animation clip.
|
|
SetupTrackAnimationClips ( ) : void |
Adds each track's animation clip to the main animation.
|
|
Start ( ) : void | ||
StopSubtitle ( ) : void |
Stops all subtitles from displaying by setting the current subtitle to null.
|
|
UnknownFunction ( CutsceneClip clip ) : void |
Called when the clip type is unknown. For debugging only; ideally this will never be called. |
메소드 | 설명 | |
---|---|---|
StopActor ( CutsceneActor actor, float duration ) : IEnumerator |
Stops the actor from playing at its out point.
|
|
StopAudio ( AudioSource aud, float duration ) : IEnumerator |
Stops the audio from playing at its out point.
|
|
StopShot ( Camera cam, float duration ) : IEnumerator |
Stops the shot from playing at its out point.
|
|
StopSubtitle ( float duration ) : IEnumerator |
Stops the subtitle from displaying at its out point.
|
public AddTrack ( Cutscene, type ) : CutsceneTrack, | ||
type | Cutscene, | |
리턴 | CutsceneTrack, |
public DisableOtherCameras ( Camera exemptCam ) : void | ||
exemptCam | Camera | The camera to stay enabled. |
리턴 | void |
public NewActor ( AnimationClip anim, GameObject go ) : CutsceneActor | ||
anim | AnimationClip | |
go | GameObject | |
리턴 | CutsceneActor |
public NewAudio ( AudioClip clip ) : CutsceneAudio | ||
clip | AudioClip | The audio clip to be attached the CutsceneAudio object. |
리턴 | CutsceneAudio |
public NewSubtitle ( string dialog ) : CutsceneSubtitle | ||
dialog | string | The dialog to be displayed. |
리턴 | CutsceneSubtitle |
public UnknownFunction ( CutsceneClip clip ) : void | ||
clip | CutsceneClip | |
리턴 | void |