if(guiRoot==null)Debug.LogError(string.Format("{0}: UnityDialogueUI can't find GUIRoot and won't be able to display dialogue.",newSystem.Object[]{DialogueDebug.Prefix}));
if(DialogueDebug.logWarnings)
{
if(dialogue.npcSubtitle.line==null)Debug.LogWarning(string.Format("{0}: UnityDialogueUI NPC Subtitle Line needs to be assigned.",newSystem.Object[]{DialogueDebug.Prefix}));
if(dialogue.pcSubtitle.line==null)Debug.LogWarning(string.Format("{0}: UnityDialogueUI PC Subtitle Line needs to be assigned.",newSystem.Object[]{DialogueDebug.Prefix}));
if(dialogue.responseMenu.buttons.Length==0)Debug.LogWarning(string.Format("{0}: UnityDialogueUI Response buttons need to be assigned.",newSystem.Object[]{DialogueDebug.Prefix}));
if(alert.line==null)Debug.LogWarning(string.Format("{0}: UnityDialogueUI Alert Line needs to be assigned.",newSystem.Object[]{DialogueDebug.Prefix}));