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

Public Member Functions

 Arrow ()
 
void Run (ActionListSource actionListSource)
 Runs the Arrow's linkedCutscene. More...
 
void Draw ()
 

Public Attributes

bool isPresent
 
Cutscene linkedCutscene
 
ActionListAsset linkedActionList
 
Texture2D texture
 
Rect rect
 

Detailed Description

A data container for an arrow that is used in an ArrowPrompt.

Constructor & Destructor Documentation

◆ Arrow()

AC.Arrow.Arrow ( )

The default Constructor.

Member Function Documentation

◆ Draw()

void AC.Arrow.Draw ( )

Draws the Arrow on screen. This is called every OnGUI call by StateHandler.

◆ Run()

void AC.Arrow.Run ( ActionListSource  actionListSource)

Runs the Arrow's linkedCutscene.

Parameters
actionListSourceWhere the Actions are stored when not being run

Member Data Documentation

◆ isPresent

bool AC.Arrow.isPresent

If True, the Arrow is defined and used in the ArrowPrompt

◆ linkedActionList

ActionListAsset AC.Arrow.linkedActionList

The ActionList to run when the Arrow is triggered

◆ linkedCutscene

Cutscene AC.Arrow.linkedCutscene

The Cutscene to run when the Arrow is triggered

◆ rect

Rect AC.Arrow.rect

The OnGUI Rect that defines the screen boundary

◆ texture

Texture2D AC.Arrow.texture

The texture to draw on-screen