using System.Collections; using System.Collections.Generic; using UnityEngine; //被鼠标射线移动的物体 public interface IPicked { //获取被捡起的物体 GameObject GetGameObject(); void PickUp(); //放置后是否能被射线检测逻辑捡起 (生成时不做判断) bool CanPickUpByRay(); //安置逻辑 void PickDown(); //是否能被安置 bool CanPickDown(); //未完成放置时,中止拾取状态 void StopPick(); //是否能够中止拾取状态 bool CanStopPick(); }