C# Class Cuts, UnderworldExporter

Base class for cutscene scripts.
Inheritance: GuiBase
Exibir arquivo Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
StringBlockNo int

Protected Properties

Property Type Description
AudioClipName string[]
AudioTimes float[]
ImageFrames string[]
ImageLoops int[]
ImageTimes float[]
SubsDuration float[]
SubsStringIndices int[]
SubsTimes float[]
noOfAudioClips int
noOfImages int
noOfSubs int

Public Methods

Method Description
Awake ( ) : void

Awake this instance and initialize the values for the cutscene

NoOfImages ( ) : int

Numbers of images.

PostCutSceneEvent ( ) : void

Support for code to be called after the cutscene ends

PreCutsceneEvent ( ) : void

Support for code to be called at the start of the cutscene

getAudioClip ( int index ) : string

Gets the audio clip.

getAudioTime ( int index ) : float

Gets the time the audio plays at.

getFillerAnim ( ) : string

Gets the filler animation. Used for black screens.

getImageFrame ( int index ) : string

Gets the image frame to display

getImageLoops ( int index ) : int

Gets the image loop number

getImageTime ( int index ) : float

Gets the image time.

getNoOfAudioClips ( ) : int

Gets the no of audio clips to process

getNoOfSubs ( ) : int

Gets the number of subs.

getSubDuration ( int index ) : float

Gets the duration of the sub.

getSubIndex ( int index ) : int

Gets the string index of the sub to display

getSubTime ( int index ) : float

Gets the time the sub appears at

Method Details

Awake() public method

Awake this instance and initialize the values for the cutscene
public Awake ( ) : void
return void

NoOfImages() public method

Numbers of images.
public NoOfImages ( ) : int
return int

PostCutSceneEvent() public method

Support for code to be called after the cutscene ends
public PostCutSceneEvent ( ) : void
return void

PreCutsceneEvent() public method

Support for code to be called at the start of the cutscene
public PreCutsceneEvent ( ) : void
return void

getAudioClip() public method

Gets the audio clip.
public getAudioClip ( int index ) : string
index int Array index to return
return string

getAudioTime() public method

Gets the time the audio plays at.
public getAudioTime ( int index ) : float
index int Array index to return
return float

getFillerAnim() public method

Gets the filler animation. Used for black screens.
public getFillerAnim ( ) : string
return string

getImageFrame() public method

Gets the image frame to display
public getImageFrame ( int index ) : string
index int Array index to return
return string

getImageLoops() public method

Gets the image loop number
public getImageLoops ( int index ) : int
index int Array index to return
return int

getImageTime() public method

Gets the image time.
public getImageTime ( int index ) : float
index int Array index to return
return float

getNoOfAudioClips() public method

Gets the no of audio clips to process
public getNoOfAudioClips ( ) : int
return int

getNoOfSubs() public method

Gets the number of subs.
public getNoOfSubs ( ) : int
return int

getSubDuration() public method

Gets the duration of the sub.
public getSubDuration ( int index ) : float
index int Array index to return
return float

getSubIndex() public method

Gets the string index of the sub to display
public getSubIndex ( int index ) : int
index int Array index to return
return int

getSubTime() public method

Gets the time the sub appears at
public getSubTime ( int index ) : float
index int Array index to return
return float

Property Details

AudioClipName protected_oe property

protected string[] AudioClipName
return string[]

AudioTimes protected_oe property

protected float[] AudioTimes
return float[]

ImageFrames protected_oe property

protected string[] ImageFrames
return string[]

ImageLoops protected_oe property

protected int[] ImageLoops
return int[]

ImageTimes protected_oe property

protected float[] ImageTimes
return float[]

StringBlockNo public_oe property

public int StringBlockNo
return int

SubsDuration protected_oe property

protected float[] SubsDuration
return float[]

SubsStringIndices protected_oe property

protected int[] SubsStringIndices
return int[]

SubsTimes protected_oe property

protected float[] SubsTimes
return float[]

noOfAudioClips protected_oe property

protected int noOfAudioClips
return int

noOfImages protected_oe property

protected int noOfImages
return int

noOfSubs protected_oe property

protected int noOfSubs
return int