// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.QuestMachine
{
///
/// Body text UI content.
///
public class BodyTextQuestContent : QuestContent
{
[Tooltip("Text to show in regular body text style.")]
[StringFieldTextArea]
[SerializeField]
private StringField m_bodyText;
///
/// Text to show in regular body text style.
///
public StringField bodyText
{
get { return m_bodyText; }
set { m_bodyText = value; }
}
public override StringField originalText
{
get { return bodyText; }
set { bodyText = value; }
}
public override string GetEditorName()
{
return (bodyText == null) ? "Body Text" : "Text: " + bodyText;
}
}
}