Hi, I want to make a script with method that: Input the DialogueActor component, then the method will StartConversation(actorName+"Conversation"), but the actor name is expected to be the database name but not the display name.
I have tried GetActorName() but it is the display name...
Get actorName from an actor component but not the display name
Re: Get actorName from an actor component but not the display name
Hi,
Use the "actor" property:
Use the "actor" property:
Code: Select all
void StartConversationWithDialogueActor(DialogueActor dialogueActor)
{
DialogueManager.StartConversation(dialogueActor.actor + " Conversation");
}