refactor():重构编辑系统,不再需要添加额外的脚本作为可编辑的入口了
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
using UnityEngine;
|
||||
using Script.Gameplay.Player;
|
||||
using System.Collections.Generic;
|
||||
using Script.Gameplay.Facility;
|
||||
// using Script.Gameplay.Facility;
|
||||
|
||||
namespace Script.Gameplay.Interface
|
||||
{
|
||||
public interface IEditable
|
||||
{
|
||||
void OnGazeEnter(PlayerEditController editor); // 玩家开始注视时触发
|
||||
void OnGazeExit(PlayerEditController editor); // 玩家停止注视时触发
|
||||
void BeginEdit();
|
||||
void EndEdit();
|
||||
List<IEditableComponent> GetEditableComponents();
|
||||
}
|
||||
// public interface IEditable
|
||||
// {
|
||||
// void OnGazeEnter(PlayerEditController editor); // 玩家开始注视时触发
|
||||
// void OnGazeExit(PlayerEditController editor); // 玩家停止注视时触发
|
||||
// void BeginEdit();
|
||||
// void EndEdit();
|
||||
// List<IEditableComponent> GetEditableComponents();
|
||||
// }
|
||||
}
|
Reference in New Issue
Block a user