What would be the best way to go about inserting a carriage return between every line of dialogue so I don't have to remember to manually put one at the start of each dialogue box?
I think once I know that I'd probably be able to start also having it insert the actor/conversant names at the top of paragraph as well? If that's a different matter altogether, can you give me any tips on that as well?
using UnityEngine;
using PixelCrushers.DialogueSystem;
public class AddLineSpacing : MonoBehaviour
{
void OnConversationLine(Subtitle subtitle)
{
if (!string.IsNullOrEmpty(subtitle.formattedText.text))
{
subtitle.formattedText.text += "\n";
}
}
}