-
Notifications
You must be signed in to change notification settings - Fork 1
Characters
To use Yap, you will need one or more character assets. Create these in the content browser like usual.
To make it easier to find your characters in the world, you can add a Yap Character Component to them. This component will self-register itself to the Yap Subsystem on BeginPlay, and contains an Identity Tag which will allow Yap to find your character in the world. Speaking characters actors should have this component added with the same identity tag as the character asset. Here's a details view of an actor placed in the world with this set up:
With these in-place, you can locate your character component easily with the Yap Subsystem, e.g. if you wish to play audio on it, or attach a speech bubble:
// TODO - custom K2 node which returns the actor instead of only the component?