Skip to main content
Overview > CharacterData Class: CharacterData | Inherits from: ScriptableObject ScriptableObject that defines comprehensive character data for AI conversational agents. Contains the essential information needed to create and configure an AI character, including personality, knowledge bases, intents, goals, and safety configurations.

Properties

Reference

characterName

The display name of the AI character.

Type

string

role

The role or occupation of the character (e.g., “teacher”, “shopkeeper”, “friend”).

Type

string

pronouns

The pronouns used when referring to the character (e.g., “he/him”, “she/her”, “they/them”).

Type

string

description

Detailed description of the character’s appearance, personality, and background.

Type

string (Unity TextArea)

motivation

The character’s underlying motivations, goals, and driving forces.

Type

string (Unity TextArea)

knowledges

List of knowledge bases that the character has access to.

Type

List<KnowledgeData>

intents

List of intents that the character can recognize and respond to.

Type

List<IntentData>

goals

List of goals that the character is trying to achieve in conversations.

Type

List<GoalData>

safetyRejections

List of predefined rejection messages for unsafe or inappropriate content.

Type

List<string>

ToConversation

Converts this character data into a conversational character format. Intended as a temporary compatibility bridge and may be deprecated in the future.

Returns

ConversationalCharacterData with mapped name, role, pronouns, description, and motivation.