// The message type to send dialog through public CustomDialogMessage(AbstractActor dialogueSource, DialogueContent dialogueContent, float showDuration = 0f) : base() { this.dialogueSource = dialogueSource; this.dialogueSourceGUID = dialogueSource.GUID; this.dialogueContent = dialogueContent; this.showDuration = showDuration != 0f ? showDuration : dialogueContent.GetDialogueTime(); }
public CustomDialogMessage(string dialogueSourceGUID, DialogueContent dialogueContent, float showDuration = 0f) : base() { this.dialogueSourceGUID = dialogueSourceGUID; this.dialogueContent = dialogueContent; this.showDuration = showDuration != 0f ? showDuration : dialogueContent.GetDialogueTime(); }