using System; using Gameplay.Player; using UnityEngine; using Interface; namespace Script.Gameplay.Facility { public class FacilityController : MonoBehaviour, IInteractable, IEditable { public FacilityModifier facilityModifier; private void Awake() { if (facilityModifier == null) { facilityModifier = GetComponent(); } } private void Start() { } public string GetInteractPrompt() { return ""; } public void Interact(GameObject interactor) { } public void OnGazeEnter(GameObject editor) { // 物体弹出按F可交互菜单 } public void OnGazeExit(GameObject editor) { // 物体取消菜单 } public void OnGazeEnter(PlayerEditController editor) { } public void OnGazeExit(PlayerEditController editor) { } public void BeginEdit() { } public void EndEdit() { } public IEditable GetEditable() { return this; } } }