summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/Walls/XTerminalWall.cs
blob: 4a1a83f3dde569eed216f7d8d4f7a372ab02cf35 (plain)
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;
        }
    }
}