using System.Collections; using System.Collections.Generic; using UnityEngine; public class Tool_SelectComponent : BaseToolOrDevice { public override void OnEnter() { base.OnEnter(); ///高亮 _highlight.highlighted = true; } public override void OnDown() { base.OnDown(); ////放入背包 } public override void OnExit() { base.OnExit(); ///关闭高亮 _highlight.highlighted = false; } }