How to create new character

The characters in the project are presented by separate prefabs. In addition, each individual emotion or state is also a separate prefab.

If you need to create your own unique character, then I recommend you to use one of the existing prefabs as a reference.

The existed characters can be found in the next directories:

Untitled

Or in the Asset Manager :

Untitled

As you can see by the prefabs names, each of them contains a character in one state. This approach is worth following.

To create a new character or a new variation, find a suitable prefab of on of the existing characters and duplicate it (Ctrl + D, or Menu bar > Edit / Duplicate).

Animation.gif

The new prefab must be included into the Asset Manager , otherwise it will not be available in the editor and in the runtime.

Animation.gif

Now you can open the prefab and make all the necessary changes. All the new graphics should be placed in the Pivot game object and fit it so that it corresponds to the dimensions of the Pivot.

Untitled

It is important that all characters look to the right or forward. Characters on the right side of the screen will automatically be flipped horizontally so that they face the center of the screen.

Untitled

Character graphics are drawn by UI Image components, so new graphics must also be based on this component. Or by other UI Graphics components.

Untitled