1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
using UnityEngine; using System.Collections; public class XTerminalWall : XWall { public string exString; private bool reported = false; protected override void OnTriggered() { if (!reported && exString != null && exString.Length > 0) { _interface.SetExternalString(exString, true); reported = true; } } }