YanCheng_Metrology/Assets/Scripts/CXX/Devices/Device_Base.cs

23 lines
450 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Device_Base : PermanentTriggerBase
{
/// <summary>
/// É豸ÀàÐÍ
/// </summary>
public DeviceType deviceType;
protected override void OnMEnter()
{
base.OnMEnter();
_highlight.highlighted = true;
}
protected override void OnMExit()
{
base.OnMExit();
_highlight.highlighted = false;
}
}