Adventure Creator  1.67.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.ActionEnd Class Reference

Public Member Functions

 ActionEnd ()
 
 ActionEnd (ActionEnd _actionEnd)
 A Constructor that copies the values of another ActionEnd. More...
 
 ActionEnd (int _skipAction)
 

Public Attributes

ResultAction resultAction
 
int skipAction
 
Action skipActionActual
 
Cutscene linkedCutscene
 
ActionListAsset linkedAsset
 

Detailed Description

A data container for the variables that determine what happens when an Action has completed running.

Constructor & Destructor Documentation

◆ ActionEnd() [1/3]

AC.ActionEnd.ActionEnd ( )

The default Constructor.

◆ ActionEnd() [2/3]

AC.ActionEnd.ActionEnd ( ActionEnd  _actionEnd)

A Constructor that copies the values of another ActionEnd.

Parameters
_actionEndThe ActionEnd to copy from

◆ ActionEnd() [3/3]

AC.ActionEnd.ActionEnd ( int  _skipAction)

A Constructor that sets skipAction explicitly.

Member Data Documentation

◆ linkedAsset

ActionListAsset AC.ActionEnd.linkedAsset

The ActionListAsset to run, if resultAction = ResultAction.RunCutscene and the Action is in an ActionListAsset file

◆ linkedCutscene

Cutscene AC.ActionEnd.linkedCutscene

The Cutscene to run, if resultAction = ResultAction.RunCutscene and the Action is in a scene-based ActionList

◆ resultAction

ResultAction AC.ActionEnd.resultAction

What happens when the Action ends (Continue, Stop, Skip, RunCutscene)

◆ skipAction

int AC.ActionEnd.skipAction

The index number of the Action to skip to, if resultAction = ResultAction.Skip

◆ skipActionActual

Action AC.ActionEnd.skipActionActual

The Action to skip to, if resultAction = ResultAction.Skip