Difference between revisions of "CompoundCutscene"
(Added image link) |
m (Moved category order) |
||
Line 18: | Line 18: | ||
This class is demonstrated in the [[Cutscene Framework Demo]]. | This class is demonstrated in the [[Cutscene Framework Demo]]. | ||
− | |||
[[Category:API]] | [[Category:API]] | ||
+ | [[Category:Cutscene Framework]] | ||
[[Category:Premium Scripts]] | [[Category:Premium Scripts]] |
Revision as of 03:52, 15 April 2013
The CompoundCutscene contains a list of all cutscenes it controls. These may be processed sequentially or in parallel. Either way, the CompoundCutscene will only report that is is complete when all Cutscenes in its list have completed. CompoundCutscenes may contain other CompoundCutscenes in their list; using this, you may create sophisticated scenes fairly quickly.
The editor for the Compound Cutscene shows all of the cutscenes in the list, along with buttons to modify the position of the cutscenes within the list. There is a button to easily create new cutscenes, and delete existing cutscenes, and a button to update the cutscene list if you manually delete a Cutscene GameObject without using the button in the CompoundCutscene editor.
Contents |
Public Variables
howToProcess : ProcessingMethod
This tells the class how to process the list of cutscenes. The possible values are: SEQUENTIAL, PARALLEL.
onStartMessage : string
This message is sent when the compound cutscene starts.
onStepMessage : string
This message is sent each time the compound cutscene is using SEQUENTIAL mode, and a new child cutscene is started.
onFinishedMessage : string
This message is sent when the compound cutscene finishes.
Example
This class is demonstrated in the Cutscene Framework Demo.