feat(Console MovePlateform): 实现控制台和移动平台

This commit is contained in:
2025-10-22 11:32:53 +08:00
parent 3d014cd2c2
commit 3cdd41ea49
27 changed files with 936 additions and 46 deletions

View File

@@ -21,12 +21,13 @@ namespace Script.Gameplay.Edit
// 不可交互
// 可编辑
public bool IsEditableActive { get; set; } = true;
public bool IsComponentActive { get; set; } = true;
public string ComponentName { get; set; } = "Emitter";
public LockLevel LockLevel => LockLevel.Red;
// 可连线
public List<ConnectionLine> ConnectionLines { get; set; } = new List<ConnectionLine>();
public bool IsEnablePlayerConnect { get; set; } = true;
public void OnGazeEnter() { }
public void OnGazeExit() { }
public Vector3 GetPosition() => transform.position;
@@ -34,9 +35,9 @@ namespace Script.Gameplay.Edit
public string GetConnectableName() => gameObject.name;
// 接收信号
public void SignalActive(bool active, GameObject sender)
public void OnSignalReceived(bool active, GameObject sender)
{
if(!IsEditableActive) return;
if(!IsComponentActive) return;
if (active)
{
if (emitCoroutine == null)