Skip to content

Character (Unity API)

Erik Loyer edited this page Jun 30, 2018 · 3 revisions

The Character object is a container for basic info about an agent in the story, mainly their name and whether or not the character is visible (i.e. intended to be perceived by the audience in some way) or not.

Public Properties

Property Type Description
data XMLElement The XML data used to create the character.
firstName string The character's first name.
fullName string The character's full name.
id string The id of the character.
lastName string The character's last name.
parentScore Score The Score that contains this character.
visible bool If true, actions taken by this character should be perceptible by the user.

Constructor

new Character(XMLElement xml, Score score)

Creates a new Character from the given Stepwise XML, owned by the given Score.