27 lines
526 B
C#
27 lines
526 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// ¹¤¾ß²ÄÁÏ»ùÀà
|
|
/// </summary>
|
|
public class Tool_Base : PermanentTriggerBase
|
|
{
|
|
/// <summary>
|
|
/// ¹¤¾ßÀàÐÍ
|
|
/// </summary>
|
|
public ToolType toolType;
|
|
|
|
protected override void OnMEnter()
|
|
{
|
|
base.OnMEnter();
|
|
Debug.Log(gameObject.name);
|
|
_highlight.highlighted = true;
|
|
}
|
|
protected override void OnMExit()
|
|
{
|
|
base.OnMExit();
|
|
_highlight.highlighted = false;
|
|
}
|
|
}
|