PixelCrushers.DialogueSystem.ActorSubtitleColor Class Reference

Uses a specified text color for subtitle lines spoken by the actor. More...

Inheritance diagram for PixelCrushers.DialogueSystem.ActorSubtitleColor:
Collaboration diagram for PixelCrushers.DialogueSystem.ActorSubtitleColor:

Public Types

enum  ApplyTo { DialogueText , PrependedActorName }
 

Public Member Functions

void OnConversationLine (Subtitle subtitle)
 
void OnBarkLine (Subtitle subtitle)
 

Public Attributes

Color color = Color.white
 The color to use for subtitle lines spoken by this actor.
 
ApplyTo applyTo = ApplyTo.DialogueText
 
string prependActorNameSeparator = ": "
 

Detailed Description

Uses a specified text color for subtitle lines spoken by the actor.

Member Enumeration Documentation

◆ ApplyTo

Enumerator
DialogueText 
PrependedActorName 

Member Function Documentation

◆ OnBarkLine()

void PixelCrushers.DialogueSystem.ActorSubtitleColor.OnBarkLine ( Subtitle  subtitle)
inline

◆ OnConversationLine()

void PixelCrushers.DialogueSystem.ActorSubtitleColor.OnConversationLine ( Subtitle  subtitle)
inline

Member Data Documentation

◆ applyTo

ApplyTo PixelCrushers.DialogueSystem.ActorSubtitleColor.applyTo = ApplyTo.DialogueText

◆ color

Color PixelCrushers.DialogueSystem.ActorSubtitleColor.color = Color.white

The color to use for subtitle lines spoken by this actor.

◆ prependActorNameSeparator

string PixelCrushers.DialogueSystem.ActorSubtitleColor.prependActorNameSeparator = ": "

The documentation for this class was generated from the following file: