RunNode 接入游戏主流程
- NodeMapForm:节点地图
- NodeItem:节点入口
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using GeometryTD.Procedure;
|
||||
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public sealed class NodeItemContext : UIContext
|
||||
{
|
||||
public int NodeId;
|
||||
public int SequenceIndex;
|
||||
public RunNodeType NodeType;
|
||||
public bool IsLocked;
|
||||
public bool IsCurrent;
|
||||
public bool IsCompleted;
|
||||
public bool IsFailed;
|
||||
public bool CanClick;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: da34e789554bd744e913db9fa3615322
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
public sealed class NodeMapFormContext : UIContext
|
||||
{
|
||||
public string Title;
|
||||
public string ProgressText;
|
||||
public string CurrentNodeText;
|
||||
public bool IsRunCompleted;
|
||||
public NodeItemContext[] NodeItems;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb4720747caac9641b0bf06abbdad70f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user