Browse Source

Added ShowDialog()

master
chrisgregan 10 years ago
parent
commit
fd0fbf0850
  1. 8
      Assets/Fungus/Dialog/Scripts/DialogController.cs

8
Assets/Fungus/Dialog/Scripts/DialogController.cs

@ -32,6 +32,14 @@ namespace Fungus.Script
List<Action> optionActions = new List<Action>();
public void ShowDialog(bool visible)
{
if (dialogCanvas != null)
{
dialogCanvas.gameObject.SetActive(visible);
}
}
public void SetCharacter(Character character)
{
if (character == null)

Loading…
Cancel
Save