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

Public Member Functions

 ActionEnd (bool stopAfter=false)
 
 ActionEnd (ActionEnd _actionEnd)
 A Constructor that copies the values of another ActionEnd. More...
 
 ActionEnd (int _skipAction)
 
 ActionEnd (Action actionAfter)
 
 ActionEnd (Cutscene cutsceneAfter)
 
 ActionEnd (ActionListAsset actionListAssetAfter)
 

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/2]

AC.ActionEnd.ActionEnd ( ActionEnd  _actionEnd)

A Constructor that copies the values of another ActionEnd.

Parameters
_actionEndThe ActionEnd to copy from

◆ ActionEnd() [2/2]

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