2025-10-17 15:10:19 +08:00
|
|
|
using UnityEngine;
|
2025-10-20 10:12:07 +08:00
|
|
|
using Script.Gameplay.Player;
|
2025-10-18 08:55:38 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using Script.Gameplay.Facility;
|
|
|
|
|
2025-10-20 09:02:15 +08:00
|
|
|
namespace Script.Gameplay.Interface
|
2025-10-17 15:10:19 +08:00
|
|
|
{
|
|
|
|
public interface IEditable
|
|
|
|
{
|
|
|
|
void OnGazeEnter(PlayerEditController editor); // 玩家开始注视时触发
|
|
|
|
void OnGazeExit(PlayerEditController editor); // 玩家停止注视时触发
|
|
|
|
void BeginEdit();
|
|
|
|
void EndEdit();
|
2025-10-18 08:55:38 +08:00
|
|
|
List<IEditableComponent> GetEditableComponents();
|
2025-10-17 15:10:19 +08:00
|
|
|
}
|
|
|
|
}
|