feat(Console MovePlateform): 实现控制台和移动平台
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user