C# Класс Cuts, UnderworldExporter

Base class for cutscene scripts.
Наследование: GuiBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
StringBlockNo int

Защищенные свойства (Protected)

Свойство Тип Описание
AudioClipName string[]
AudioTimes float[]
ImageFrames string[]
ImageLoops int[]
ImageTimes float[]
SubsDuration float[]
SubsStringIndices int[]
SubsTimes float[]
noOfAudioClips int
noOfImages int
noOfSubs int

Открытые методы

Метод Описание
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

Описание методов

Awake() публичный Метод

Awake this instance and initialize the values for the cutscene
public Awake ( ) : void
Результат void

NoOfImages() публичный Метод

Numbers of images.
public NoOfImages ( ) : int
Результат int

PostCutSceneEvent() публичный Метод

Support for code to be called after the cutscene ends
public PostCutSceneEvent ( ) : void
Результат void

PreCutsceneEvent() публичный Метод

Support for code to be called at the start of the cutscene
public PreCutsceneEvent ( ) : void
Результат void

getAudioClip() публичный Метод

Gets the audio clip.
public getAudioClip ( int index ) : string
index int Array index to return
Результат string

getAudioTime() публичный Метод

Gets the time the audio plays at.
public getAudioTime ( int index ) : float
index int Array index to return
Результат float

getFillerAnim() публичный Метод

Gets the filler animation. Used for black screens.
public getFillerAnim ( ) : string
Результат string

getImageFrame() публичный Метод

Gets the image frame to display
public getImageFrame ( int index ) : string
index int Array index to return
Результат string

getImageLoops() публичный Метод

Gets the image loop number
public getImageLoops ( int index ) : int
index int Array index to return
Результат int

getImageTime() публичный Метод

Gets the image time.
public getImageTime ( int index ) : float
index int Array index to return
Результат float

getNoOfAudioClips() публичный Метод

Gets the no of audio clips to process
public getNoOfAudioClips ( ) : int
Результат int

getNoOfSubs() публичный Метод

Gets the number of subs.
public getNoOfSubs ( ) : int
Результат int

getSubDuration() публичный Метод

Gets the duration of the sub.
public getSubDuration ( int index ) : float
index int Array index to return
Результат float

getSubIndex() публичный Метод

Gets the string index of the sub to display
public getSubIndex ( int index ) : int
index int Array index to return
Результат int

getSubTime() публичный Метод

Gets the time the sub appears at
public getSubTime ( int index ) : float
index int Array index to return
Результат float

Описание свойств

AudioClipName защищенное свойство

protected string[] AudioClipName
Результат string[]

AudioTimes защищенное свойство

protected float[] AudioTimes
Результат float[]

ImageFrames защищенное свойство

protected string[] ImageFrames
Результат string[]

ImageLoops защищенное свойство

protected int[] ImageLoops
Результат int[]

ImageTimes защищенное свойство

protected float[] ImageTimes
Результат float[]

StringBlockNo публичное свойство

public int StringBlockNo
Результат int

SubsDuration защищенное свойство

protected float[] SubsDuration
Результат float[]

SubsStringIndices защищенное свойство

protected int[] SubsStringIndices
Результат int[]

SubsTimes защищенное свойство

protected float[] SubsTimes
Результат float[]

noOfAudioClips защищенное свойство

protected int noOfAudioClips
Результат int

noOfImages защищенное свойство

protected int noOfImages
Результат int

noOfSubs защищенное свойство

protected int noOfSubs
Результат int