feat():大改前的提交,这个版本保存了所有冗余的代码
This commit is contained in:
69
Assets/Script/Gameplay/Facility/FacilityController.cs
Normal file
69
Assets/Script/Gameplay/Facility/FacilityController.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
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<FacilityModifier>();
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user