Custom Character

Quickly get a custom character prefab working in your scene.

Creating a Character Prefab

To create your game's character prefab you need to make a variant of the AirshipCharacter prefab.

  1. Right click in the project tab and choose Create > Airship > Character Variant

  2. Double click the created prefab variant to make any changes

You can add any graphics or components to this character to make it work for your game. There are also exposed variables on existing components. Some common changes would be to the CharacterMovementData component or adding graphics to the NetworkedGraphicsHolder.

Spawning Your New Character Prefab

  1. Find the CharacterConfigSetup component in your scene (it's there by default in template projects).

  2. Set the Custom Character Prefab field to your newly created prefab. This will cause characters to spawn using that prefab instead of the default AirshipCharacter prefab.

Last updated