Browse Source

Improved summary text

master
chrisgregan 11 years ago
parent
commit
f863b82503
  1. 10
      Assets/Fungus/Dialog/Commands/Say.cs
  2. 2
      Assets/Fungus/FungusScript/Commands/Call.cs

10
Assets/Fungus/Dialog/Commands/Say.cs

@ -68,15 +68,7 @@ namespace Fungus.Script
public override string GetSummary() public override string GetSummary()
{ {
string summary = ""; return "\"" + storyText + "\"";
if (character != null)
{
summary = character.characterName + ": ";
}
summary += "\"" + storyText + "\"";
return summary;
} }
void OnGUI() void OnGUI()

2
Assets/Fungus/FungusScript/Commands/Call.cs

@ -36,7 +36,7 @@ namespace Fungus.Script
{ {
if (targetSequence == null) if (targetSequence == null)
{ {
return "<Continue> (No sequence selected)"; return "<Continue>";
} }
return targetSequence.name; return targetSequence.name;

Loading…
Cancel
Save