You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
680 B
24 lines
680 B
8 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using Fungus.Utils;
|
||
|
|
||
|
namespace Fungus
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Writer event signalling system.
|
||
|
/// </summary>
|
||
|
public static class WriterSignals
|
||
|
{
|
||
|
#region Public members
|
||
|
|
||
|
/// <summary>
|
||
|
/// TextTagToken signal. Sent for each unique token when writing text.
|
||
|
/// </summary>
|
||
|
public delegate void TextTagTokenHandler(Writer writer, TextTagToken token);
|
||
|
public static event TextTagTokenHandler OnTextTagToken;
|
||
|
public static void DoTextTagToken(Writer writer, TextTagToken token){ if(OnTextTagToken != null) OnTextTagToken(writer, token); }
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|