Display the characters

Next, let’s display the characters.

Import Texture Files

First, import the character texture files into the Unity editor.
We have created some test files so feel free to use them.

Store the character textures under Resources//Texture/Character.
Creating subfolders for each character can make them easier to manage.

Configure Textures in the Character Sheet

In the Character sheet, configure the texture files that correspond to each character name and expression.

Display a Character

For displaying a character, you need to set the character’s name in Arg1, and the character’s expression name in Arg2.
We have created some sample scenarios, so try editing the Start sheet like shown below.

Once you have edited the scenario, try running it.

Display Multiple Characters

To display multiple characters at the same time, use the Layer sheet.
Fill in the Layer sheet as shown below to specify the name of the layer to display the character, their position, drawing order, etc.

Once you have created the layers on the Layer sheet, you can display multiple characters by specifying the display layers in Arg3. You do this when configuring the character display in the scenario description.