using DG.Tweening; using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 螺丝刀 /// public class Tool_Screwdriver : Tool_Base { /// /// 开始安装螺丝 /// /// public void Install(Tool_Screw screw) { if (!screw.isInstall) { Debug.Log("开始拧紧螺丝"); screw.BeInstalled(this); } } /// /// 开始卸载螺丝 /// /// public void UnInstall(Tool_Screw screw) { if (screw.isInstall) { Debug.Log("开始卸螺丝"); screw.BeUnInstalled(this); } } }