从旧版中移植,Prefab未确认
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Convention.WindowsUI.Variant
|
||||
[Setting] public ScriptableObject m_Icons;
|
||||
[Content, OnlyPlayMode, SerializeField] private bool m_Dirty = false;
|
||||
[Content, OnlyNotNullMode, SerializeField, InspectorDraw(InspectorDrawType.Toggle), Ignore]
|
||||
private bool m_IsLoading = false;
|
||||
// private bool m_IsLoading = false;
|
||||
|
||||
public void RebuildFileInfo([In] string path)
|
||||
{
|
||||
@@ -243,11 +243,13 @@ namespace Convention.WindowsUI.Variant
|
||||
|
||||
// --------------------
|
||||
|
||||
private object data = null;
|
||||
|
||||
private void OnAssetsItemFocusWithFileLoading([In] AssetsItem item)
|
||||
{
|
||||
if (m_File.IsAssetBundle)
|
||||
{
|
||||
if (m_File.data == null)
|
||||
if (data == null)
|
||||
{
|
||||
StartLoad();
|
||||
StartCoroutine(this.m_File.LoadAsAssetBundle(LoadAssetBundle));
|
||||
@@ -255,25 +257,24 @@ namespace Convention.WindowsUI.Variant
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_File.data == null && m_File.FileSize < 1024 * 50)
|
||||
m_File.Load();
|
||||
if (data == null && m_File.GetSize() < 1024 * 50)
|
||||
data = m_File.LoadAsAssetBundle();
|
||||
|
||||
}
|
||||
|
||||
void StartLoad()
|
||||
{
|
||||
m_IsLoading = true;
|
||||
// m_IsLoading = true;
|
||||
item.GetComponent<Image>().color = Color.red;
|
||||
}
|
||||
void EndLoad()
|
||||
{
|
||||
m_IsLoading = false;
|
||||
// m_IsLoading = false;
|
||||
item.GetComponent<Image>().color = Color.white;
|
||||
}
|
||||
void LoadAssetBundle()
|
||||
void LoadAssetBundle(AssetBundle ab)
|
||||
{
|
||||
EndLoad();
|
||||
AssetBundle ab = m_File.data as AssetBundle;
|
||||
var assets = ab.GetAllAssetNames().ToList();
|
||||
assets.AddRange(ab.GetAllScenePaths());
|
||||
var entries = item.AddChilds(assets.Count);
|
||||
@@ -314,8 +315,8 @@ namespace Convention.WindowsUI.Variant
|
||||
var files = m_File.DirToolFileIter();
|
||||
var paths = (from file in files
|
||||
where !file.ExtensionIs("meta")
|
||||
where !file.Filename.ToLower().Contains("<ignore file>")
|
||||
select file).ToList().ConvertAll(x => x.FullPath);
|
||||
where !file.GetFilename().ToLower().Contains("<ignore file>")
|
||||
select file).ToList().ConvertAll(x => x.GetFullPath());
|
||||
AddChils(item, paths);
|
||||
}
|
||||
else
|
||||
@@ -351,7 +352,7 @@ namespace Convention.WindowsUI.Variant
|
||||
m_Dirty = false;
|
||||
}
|
||||
item.HasChildLayer = item.ChildCount() != 0 ||
|
||||
((m_File != null && m_File.IsExist) && (m_File.IsDir() || m_File.IsAssetBundle));
|
||||
((m_File != null && m_File.Exists()) && (m_File.IsDir() || m_File.IsAssetBundle));
|
||||
FileSystemAssets.instance.CurrentSelectFilename.title = ItemPathName;
|
||||
InspectorWindow.instance.SetTarget(this, null);
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ namespace Convention.WindowsUI.Variant
|
||||
[Resources, SerializeField, OnlyNotNullMode] private PropertiesWindow m_PropertiesWindow;
|
||||
|
||||
[Resources, Header("HeadLine"), OnlyNotNullMode] public Image HeadIcon;
|
||||
[Resources, OnlyNotNullMode] public ModernUIInputField HeadText = new();
|
||||
[Resources, OnlyNotNullMode] public ModernUIInputField HeadText;
|
||||
[Resources] public List<Text> HeadTitles = new();
|
||||
private List<PropertiesWindow.ItemEntry> m_entries = new();
|
||||
|
||||
|
8
Convention/[Visual]/Workflow.meta
Normal file
8
Convention/[Visual]/Workflow.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d672d4922f83dd34c8b3c57c5cad2227
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
82
Convention/[Visual]/Workflow/GraphInputWindow.cs
Normal file
82
Convention/[Visual]/Workflow/GraphInputWindow.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class GraphInputWindow : MonoSingleton<GraphInputWindow>, ITitle, IText
|
||||
{
|
||||
[Resources, SerializeField, OnlyNotNullMode] private Text Title;
|
||||
[Resources, SerializeField, OnlyNotNullMode] private Text Description;
|
||||
[Resources, SerializeField, OnlyNotNullMode] private ModernUIButton AddContentInput;
|
||||
|
||||
[Resources, SerializeField, HopeNotNull, Header(nameof(HierarchyWindow))] private HierarchyWindow MyHierarchyWindow;
|
||||
|
||||
private PropertiesWindow.ItemEntry StartNodeInputsTab, FunctionsTab, EndNodeOutputsTab;
|
||||
|
||||
public string title { get => ((ITitle)this.Title).title; set => ((ITitle)this.Title).title = value; }
|
||||
public string text { get => ((IText)this.Description).text; set => ((IText)this.Description).text = value; }
|
||||
|
||||
private class TitleClass : IHierarchyItemTitle
|
||||
{
|
||||
[InspectorDraw(InspectorDrawType.Text, false, false)]
|
||||
public string title;
|
||||
|
||||
public TitleClass(string title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public string HierarchyItemTitle => title;
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
AddContentInput.AddListener(() =>
|
||||
{
|
||||
SharedModule.instance.OpenCustomMenu(this.transform as RectTransform, new SharedModule.CallbackData("test", go => { }));
|
||||
});
|
||||
Architecture.RegisterWithDuplicateAllow(typeof(GraphInputWindow), this, () =>
|
||||
{
|
||||
StartNodeInputsTab = MyHierarchyWindow.CreateRootItemEntryWithBinders(new TitleClass(nameof(StartNodeInputsTab)))[0];
|
||||
StartNodeInputsTab.GetHierarchyItem().title = WorkflowManager.Transformer("StartNodes");
|
||||
FunctionsTab = MyHierarchyWindow.CreateRootItemEntryWithBinders(new TitleClass(nameof(FunctionsTab)))[0];
|
||||
FunctionsTab.GetHierarchyItem().title = WorkflowManager.Transformer("Functions");
|
||||
EndNodeOutputsTab = MyHierarchyWindow.CreateRootItemEntryWithBinders(new TitleClass(nameof(EndNodeOutputsTab)))[0];
|
||||
EndNodeOutputsTab.GetHierarchyItem().title = WorkflowManager.Transformer("EndNodes");
|
||||
}, typeof(HierarchyWindow));
|
||||
}
|
||||
private void Reset()
|
||||
{
|
||||
MyHierarchyWindow = GetComponent<HierarchyWindow>();
|
||||
}
|
||||
|
||||
public PropertiesWindow.ItemEntry RegisterOnHierarchyWindow(NodeInfo info)
|
||||
{
|
||||
PropertiesWindow.ItemEntry item = null;
|
||||
if (info is StartNodeInfo)
|
||||
{
|
||||
item = StartNodeInputsTab.GetHierarchyItem().CreateSubPropertyItemWithBinders(info)[0];
|
||||
}
|
||||
else if (info is EndNodeInfo)
|
||||
{
|
||||
item = EndNodeOutputsTab.GetHierarchyItem().CreateSubPropertyItemWithBinders(info)[0];
|
||||
}
|
||||
else if (info is StepNodeInfo sNode)
|
||||
{
|
||||
var parentItem = FunctionsTab.GetHierarchyItem();
|
||||
var menuEntry = parentItem.Entry.GetChilds().Find(x => (x.GetHierarchyItem().target as TitleClass).title == sNode.funcname);
|
||||
if (menuEntry == null)
|
||||
{
|
||||
menuEntry = parentItem.CreateSubPropertyItemWithBinders(new TitleClass(sNode.funcname))[0];
|
||||
}
|
||||
item = menuEntry.GetHierarchyItem().CreateSubPropertyItemWithBinders(info)[0];
|
||||
}
|
||||
return item;
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/GraphInputWindow.cs.meta
Normal file
11
Convention/[Visual]/Workflow/GraphInputWindow.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 628e8952d5d14ea46b193b11d1d15fee
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
23
Convention/[Visual]/Workflow/GraphInspector.cs
Normal file
23
Convention/[Visual]/Workflow/GraphInspector.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class GraphInspector : MonoSingleton<GraphInspector>, ITitle, IText
|
||||
{
|
||||
[Resources, SerializeField, OnlyNotNullMode] private Text Title;
|
||||
|
||||
public string title { get => ((ITitle)this.Title).title; set => ((ITitle)this.Title).title = value; }
|
||||
public string text { get => ((IText)this.Title).text; set => ((IText)this.Title).text = value; }
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Architecture.RegisterWithDuplicateAllow(typeof(GraphInspector), this, () => { });
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/GraphInspector.cs.meta
Normal file
11
Convention/[Visual]/Workflow/GraphInspector.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: facb72df493019b48ba11ef9789a1fae
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
408
Convention/[Visual]/Workflow/Node.cs
Normal file
408
Convention/[Visual]/Workflow/Node.cs
Normal file
@@ -0,0 +1,408 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class NodeInfo : IHierarchyItemTitle
|
||||
{
|
||||
/// <summary>
|
||||
/// 节点
|
||||
/// </summary>
|
||||
[Setting, Ignore, NonSerialized] public Node node = null;
|
||||
/// <summary>
|
||||
/// 节点ID
|
||||
/// </summary>
|
||||
[Setting] public int nodeID = -1;
|
||||
/// <summary>
|
||||
/// 节点类型
|
||||
/// </summary>
|
||||
[InspectorDraw(InspectorDrawType.Text, false, false, name: "GraphNodeType")]
|
||||
[Setting] public string typename;
|
||||
/// <summary>
|
||||
/// 节点标题
|
||||
/// </summary>
|
||||
[Content] public string title = "";
|
||||
/// <summary>
|
||||
/// 输入映射
|
||||
/// </summary>
|
||||
[Setting] public Dictionary<string, NodeSlotInfo> inmapping = new();
|
||||
/// <summary>
|
||||
/// 输出映射
|
||||
/// </summary>
|
||||
[Setting] public Dictionary<string, NodeSlotInfo> outmapping = new();
|
||||
/// <summary>
|
||||
/// 节点位置
|
||||
/// </summary>
|
||||
[Content] public Vector2 position = Vector2.zero;
|
||||
|
||||
[InspectorDraw(InspectorDrawType.Text, name: "GraphNodeTitle")]
|
||||
public string GraphNodeTitle
|
||||
{
|
||||
get => this.title;
|
||||
set => this.title = node.title = value;
|
||||
}
|
||||
|
||||
string IHierarchyItemTitle.HierarchyItemTitle => title;
|
||||
|
||||
public NodeInfo()
|
||||
{
|
||||
WorkflowManager.Transformer(typename = this.GetType().Name[..^4]);
|
||||
}
|
||||
|
||||
protected virtual NodeInfo CreateTemplate()
|
||||
{
|
||||
return new NodeInfo();
|
||||
}
|
||||
protected virtual void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
clonen.nodeID = nodeID;
|
||||
clonen.typename = typename;
|
||||
clonen.title = string.IsNullOrEmpty(title) ? WorkflowManager.Transformer(this.GetType().Name[..^4]) : title;
|
||||
clonen.position = position;
|
||||
foreach (var (key, value) in inmapping)
|
||||
{
|
||||
clonen.inmapping[key] = value.TemplateClone();
|
||||
}
|
||||
foreach (var (key, value) in outmapping)
|
||||
{
|
||||
clonen.outmapping[key] = value.TemplateClone();
|
||||
}
|
||||
}
|
||||
public NodeInfo TemplateClone()
|
||||
{
|
||||
NodeInfo result = CreateTemplate();
|
||||
CloneValues(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static Vector2 GetPosition(Transform transform)
|
||||
{
|
||||
Vector3 result = transform.position - WorkflowManager.instance.ContentPlane.transform.position;
|
||||
return new(result.x, result.y);
|
||||
}
|
||||
|
||||
public virtual void CopyFromNode([In] Node node)
|
||||
{
|
||||
nodeID = WorkflowManager.instance.GetGraphNodeID(node);
|
||||
title = node.title;
|
||||
position = GetPosition(node.transform);
|
||||
foreach (var (key, inslot) in node.m_Inmapping)
|
||||
{
|
||||
inmapping[key] = inslot.info;
|
||||
}
|
||||
foreach (var (key, outslot) in node.m_Outmapping)
|
||||
{
|
||||
outmapping[key] = outslot.info;
|
||||
}
|
||||
}
|
||||
|
||||
[return: IsInstantiated(true)]
|
||||
public virtual Node Instantiate()
|
||||
{
|
||||
string key = this.GetType().Name;
|
||||
if (key.EndsWith("Info"))
|
||||
key = key[..^4];
|
||||
var node = GameObject.Instantiate(WorkflowManager.instance.GraphNodePrefabs.FindItem<GameObject>(key)).GetComponent<Node>();
|
||||
return node;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{title}<in.c={(inmapping == null ? 0 : inmapping.Count)}, out.c={(outmapping == null ? 0 : outmapping.Count)}>";
|
||||
}
|
||||
}
|
||||
|
||||
public class Node : WindowsComponent, IOnlyFocusThisOnInspector, ITitle
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[Content]
|
||||
public void DebugLogNodeInfo()
|
||||
{
|
||||
Debug.Log(this.info);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
public PropertiesWindow.ItemEntry MyNodeTab;
|
||||
|
||||
private BehaviourContextManager Context;
|
||||
[Resources, OnlyNotNullMode, SerializeField] private Text Title;
|
||||
[Setting]
|
||||
public int SlotHeight = 40, TitleHeight = 50, ExtensionHeight = 0;
|
||||
|
||||
public bool IsStartNode => this.GetType().IsSubclassOf(typeof(StartNode));
|
||||
public bool IsEndNode => this.GetType().IsSubclassOf(typeof(EndNode));
|
||||
|
||||
[Resources, SerializeField, WhenAttribute.Is(nameof(IsStartNode), false), OnlyNotNullMode]
|
||||
private PropertiesWindow InSlotPropertiesWindow;
|
||||
[Resources, SerializeField, WhenAttribute.Is(nameof(IsEndNode), false), OnlyNotNullMode]
|
||||
private PropertiesWindow OutSlotPropertiesWindow;
|
||||
|
||||
private List<PropertiesWindow.ItemEntry> InSlots = new(), OutSlots = new();
|
||||
|
||||
internal Dictionary<string, NodeSlot> m_Inmapping = new();
|
||||
internal Dictionary<string, NodeSlot> m_Outmapping = new();
|
||||
|
||||
[Resources, SerializeField, OnlyNotNullMode] protected BaseWindowPlane InoutContainerPlane;
|
||||
|
||||
[Content, OnlyPlayMode, SerializeField] private string rawTitle;
|
||||
public string title
|
||||
{
|
||||
get => rawTitle;
|
||||
set
|
||||
{
|
||||
rawTitle = value;
|
||||
this.Title.title = WorkflowManager.Transformer(rawTitle);
|
||||
}
|
||||
}
|
||||
|
||||
[Setting, SerializeField] private NodeInfo m_info;
|
||||
public NodeInfo info { get => m_info; private set => m_info = value; }
|
||||
|
||||
protected virtual void Start()
|
||||
{
|
||||
if (Context == null)
|
||||
Context = this.GetOrAddComponent<BehaviourContextManager>();
|
||||
Context.OnPointerDownEvent = BehaviourContextManager.InitializeContextSingleEvent(Context.OnPointerDownEvent, OnPointerDown);
|
||||
Context.OnDragEvent = BehaviourContextManager.InitializeContextSingleEvent(Context.OnDragEvent, OnDrag);
|
||||
Context.OnPointerClickEvent = BehaviourContextManager.InitializeContextSingleEvent(Context.OnPointerClickEvent, PointerRightClickAndOpenMenu);
|
||||
Context.OnEndDragEvent = BehaviourContextManager.InitializeContextSingleEvent(Context.OnEndDragEvent, EndDrag);
|
||||
}
|
||||
|
||||
protected virtual void OnDestroy()
|
||||
{
|
||||
if (InspectorWindow.instance.GetTarget() == this.info)
|
||||
{
|
||||
InspectorWindow.instance.ClearWindow();
|
||||
}
|
||||
MyNodeTab?.Release();
|
||||
}
|
||||
|
||||
public virtual void PointerRightClickAndOpenMenu(PointerEventData pointer)
|
||||
{
|
||||
if (pointer.button == PointerEventData.InputButton.Right)
|
||||
{
|
||||
List<SharedModule.CallbackData> callbacks = new()
|
||||
{
|
||||
new (WorkflowManager.Transformer("Delete"), x =>
|
||||
{
|
||||
WorkflowManager.instance.DestroyNode(this);
|
||||
})
|
||||
};
|
||||
SharedModule.instance.OpenCustomMenu(WorkflowManager.instance.UIFocusObject, callbacks.ToArray());
|
||||
}
|
||||
}
|
||||
|
||||
public void OnPointerDown(PointerEventData _)
|
||||
{
|
||||
if (this.info != null)
|
||||
InspectorWindow.instance.SetTarget(this.info, null);
|
||||
else
|
||||
Debug.LogError($"GraphNode<{this.GetType()}>={this}'s info is not setup", this);
|
||||
}
|
||||
|
||||
public void OnDrag(PointerEventData _)
|
||||
{
|
||||
RefreshImmediate();
|
||||
}
|
||||
|
||||
public void EndDrag(PointerEventData _)
|
||||
{
|
||||
if (Keyboard.current[Key.LeftCtrl].isPressed)
|
||||
{
|
||||
var vec = this.transform.localPosition;
|
||||
float x = Mathf.Round(vec.x / 100);
|
||||
float y = Mathf.Round(vec.y / 100);
|
||||
transform.localPosition = new Vector3(x * 100, y * 100, 0);
|
||||
RefreshImmediate();
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void WhenSetup(NodeInfo info)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SetupFromInfo([In] NodeInfo value, bool isRefresh = true)
|
||||
{
|
||||
if (value != info)
|
||||
{
|
||||
ClearLink();
|
||||
ClearSlots();
|
||||
info = value;
|
||||
this.title = value.title;
|
||||
int nodeID = WorkflowManager.instance.GetGraphNodeID(this);
|
||||
value.nodeID = nodeID;
|
||||
value.node = this;
|
||||
if (isRefresh)
|
||||
{
|
||||
BuildSlots();
|
||||
BuildLink();
|
||||
RefreshPosition();
|
||||
}
|
||||
WhenSetup(info);
|
||||
}
|
||||
}
|
||||
|
||||
public void RefreshImmediate()
|
||||
{
|
||||
foreach (var (_, slot) in m_Inmapping)
|
||||
{
|
||||
if (slot != null)
|
||||
slot.SetDirty();
|
||||
}
|
||||
foreach (var (_, slot) in m_Outmapping)
|
||||
{
|
||||
if (slot != null)
|
||||
{
|
||||
foreach (var targetSlot in slot.info.targetSlots)
|
||||
{
|
||||
targetSlot.SetDirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public void RefreshPosition()
|
||||
{
|
||||
this.transform.position = new Vector3(info.position.x, info.position.y) + (WorkflowManager.instance.ContentPlane.transform.position);
|
||||
}
|
||||
public void RefreshRectTransform()
|
||||
{
|
||||
this.rectTransform.sizeDelta = new(this.rectTransform.sizeDelta.x, TitleHeight + Mathf.Max(m_Inmapping.Count, m_Outmapping.Count) * SlotHeight + ExtensionHeight);
|
||||
}
|
||||
public virtual void ClearLink()
|
||||
{
|
||||
if (InSlotPropertiesWindow == true)
|
||||
foreach (var (name, slot) in this.m_Inmapping)
|
||||
{
|
||||
NodeSlot.UnlinkAll(slot);
|
||||
slot.SetDirty();
|
||||
}
|
||||
if (OutSlotPropertiesWindow == true)
|
||||
foreach (var (name, slot) in m_Outmapping)
|
||||
{
|
||||
NodeSlot.UnlinkAll(slot);
|
||||
slot.SetDirty();
|
||||
}
|
||||
}
|
||||
public virtual void ClearSlots()
|
||||
{
|
||||
if (this.info == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (InSlotPropertiesWindow == true)
|
||||
{
|
||||
foreach (var slot in this.InSlots)
|
||||
slot.Release();
|
||||
this.m_Inmapping.Clear();
|
||||
}
|
||||
if (OutSlotPropertiesWindow == true)
|
||||
{
|
||||
foreach (var slot in this.OutSlots)
|
||||
slot.Release();
|
||||
OutSlots.Clear();
|
||||
this.m_Outmapping.Clear();
|
||||
}
|
||||
}
|
||||
protected List<PropertiesWindow.ItemEntry> CreateGraphNodeInSlots(int count)
|
||||
{
|
||||
if (InSlotPropertiesWindow == null)
|
||||
throw new InvalidOperationException($"this node is not using {nameof(InSlotPropertiesWindow)}");
|
||||
return InSlotPropertiesWindow.CreateRootItemEntries(count);
|
||||
}
|
||||
protected List<PropertiesWindow.ItemEntry> CreateGraphNodeOutSlots(int count)
|
||||
{
|
||||
if (OutSlotPropertiesWindow == null)
|
||||
throw new InvalidOperationException($"this node is not using {nameof(OutSlotPropertiesWindow)}");
|
||||
return OutSlotPropertiesWindow.CreateRootItemEntries(count);
|
||||
}
|
||||
public virtual void BuildSlots()
|
||||
{
|
||||
if (InSlotPropertiesWindow == true)
|
||||
{
|
||||
int InSlotCount = info.inmapping.Count;
|
||||
InSlots = CreateGraphNodeInSlots(InSlotCount);
|
||||
foreach (var (key, slotInfo) in info.inmapping)
|
||||
{
|
||||
InSlotCount--;
|
||||
var slot = InSlots[InSlotCount].ref_value.GetComponent<NodeSlot>();
|
||||
// 这样真的好吗
|
||||
m_Inmapping[key] = slot;
|
||||
var info = slotInfo.TemplateClone();
|
||||
info.parentNode = this;
|
||||
slot.SetupFromInfo(info);
|
||||
}
|
||||
}
|
||||
if (OutSlotPropertiesWindow == true)
|
||||
{
|
||||
int OutSlotCount = info.outmapping.Count;
|
||||
OutSlots = CreateGraphNodeOutSlots(OutSlotCount);
|
||||
foreach (var (key, slotInfo) in info.outmapping)
|
||||
{
|
||||
OutSlotCount--;
|
||||
var slot = OutSlots[OutSlotCount].ref_value.GetComponent<NodeSlot>();
|
||||
// 通过这种方法规避了重复键, 但是也存在一些特殊的问题
|
||||
m_Outmapping[key] = slot;
|
||||
var info = slotInfo.TemplateClone();
|
||||
info.parentNode = this;
|
||||
slot.SetupFromInfo(info);
|
||||
}
|
||||
}
|
||||
RefreshRectTransform();
|
||||
}
|
||||
public virtual void BuildLink()
|
||||
{
|
||||
if (InSlotPropertiesWindow != null)
|
||||
{
|
||||
foreach (var (slot_name, slot_info) in info.inmapping)
|
||||
{
|
||||
var targetNode = WorkflowManager.instance.GetGraphNode(slot_info.targetNodeID);
|
||||
if (targetNode != null)
|
||||
{
|
||||
NodeSlot.Link(m_Inmapping[slot_name], targetNode.m_Outmapping[slot_info.targetSlotName]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void LinkInslotToOtherNodeOutslot(
|
||||
[In, IsInstantiated(true)] Node other,
|
||||
[In] string slotName,
|
||||
[In] string targetSlotName)
|
||||
{
|
||||
NodeSlot.Link(this.m_Inmapping[slotName], other.m_Outmapping[targetSlotName]);
|
||||
}
|
||||
public void LinkOutslotToOtherNodeInslot(
|
||||
[In, IsInstantiated(true)] Node other,
|
||||
[In] string slotName,
|
||||
[In] string targetSlotName)
|
||||
{
|
||||
NodeSlot.Link(this.m_Outmapping[slotName], other.m_Inmapping[targetSlotName]);
|
||||
}
|
||||
public void UnlinkInslot([In] string slotName)
|
||||
{
|
||||
NodeSlot.UnlinkAll(this.m_Inmapping[slotName]);
|
||||
}
|
||||
public void UnlinkOutslot([In] string slotName)
|
||||
{
|
||||
NodeSlot.UnlinkAll(this.m_Outmapping[slotName]);
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, ArgPackage]
|
||||
public class DynamicNodeInfo : NodeInfo
|
||||
{
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new DynamicNodeInfo();
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/Node.cs.meta
Normal file
11
Convention/[Visual]/Workflow/Node.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93f89afbfd02c054aa2e5c7141eae234
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
340
Convention/[Visual]/Workflow/NodeSlot.cs
Normal file
340
Convention/[Visual]/Workflow/NodeSlot.cs
Normal file
@@ -0,0 +1,340 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class NodeSlotInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 所属的父节点
|
||||
/// </summary>
|
||||
[Ignore, NonSerialized] public Node parentNode = null;
|
||||
/// <summary>
|
||||
/// 所属的插槽
|
||||
/// </summary>
|
||||
[Ignore, NonSerialized] public NodeSlot slot = null;
|
||||
/// <summary>
|
||||
/// 插槽名称
|
||||
/// </summary>
|
||||
public string slotName = "unknown";
|
||||
/// <summary>
|
||||
/// 目标节点
|
||||
/// </summary>
|
||||
[Ignore, NonSerialized]
|
||||
public List<Node> targetNodes = new();
|
||||
/// <summary>
|
||||
/// 目标槽
|
||||
/// </summary>
|
||||
[Ignore, NonSerialized]
|
||||
public List<NodeSlot> targetSlots = new();
|
||||
/// <summary>
|
||||
/// 目标节点ID, 输出节点无效
|
||||
/// </summary>
|
||||
public int targetNodeID = -1;
|
||||
/// <summary>
|
||||
/// 目标插槽名称, 输出节点无效
|
||||
/// </summary>
|
||||
public string targetSlotName = "unknown";
|
||||
/// <summary>
|
||||
/// 类型指示器
|
||||
/// </summary>
|
||||
public string typeIndicator;
|
||||
/// <summary>
|
||||
/// 是否为输入映射插槽
|
||||
/// </summary>
|
||||
public bool IsInmappingSlot;
|
||||
|
||||
public NodeSlotInfo TemplateClone(bool isClearn = true)
|
||||
{
|
||||
NodeSlotInfo result = new()
|
||||
{
|
||||
slotName = slotName,
|
||||
targetNodeID = isClearn ? -1 : this.targetNodeID,
|
||||
targetSlotName = isClearn ? "" : this.targetSlotName,
|
||||
typeIndicator = typeIndicator,
|
||||
IsInmappingSlot = IsInmappingSlot
|
||||
};
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public interface INodeSlotLinkable
|
||||
{
|
||||
public bool LinkTo([In, Opt] NodeSlot other);
|
||||
public bool Linkable([In]NodeSlot other);
|
||||
}
|
||||
|
||||
public class NodeSlot : WindowUIModule, ITitle, INodeSlotLinkable
|
||||
{
|
||||
[Resources, Setting, Tooltip("挂载额外的组件")] public GameObject ExtensionModule;
|
||||
|
||||
//这个缩放因子是最顶层Canvas的变形
|
||||
public const float ScaleFactor = 100;
|
||||
|
||||
public bool Linkable([In] NodeSlot other)
|
||||
{
|
||||
if (this.info.IsInmappingSlot == other.info.IsInmappingSlot)
|
||||
{
|
||||
throw new InvalidOperationException($"{this} and {other} has same mapping type");
|
||||
}
|
||||
if (this.info.typeIndicator != other.info.typeIndicator)
|
||||
{
|
||||
if (!((this.info.typeIndicator == "string" && other.info.typeIndicator == "str") ||
|
||||
(this.info.typeIndicator == "str" && other.info.typeIndicator == "string") ||
|
||||
this.info.typeIndicator.StartsWith("Any", StringComparison.CurrentCultureIgnoreCase) ||
|
||||
other.info.typeIndicator.StartsWith("Any", StringComparison.CurrentCultureIgnoreCase
|
||||
)))
|
||||
throw new InvalidOperationException($"{this}<{this.info.typeIndicator}> and {other}<{other.info.typeIndicator}> has different type indicator");
|
||||
}
|
||||
if (this.info.parentNode == other.info.parentNode)
|
||||
{
|
||||
throw new InvalidOperationException($"{this} and {other} has same parent node<{this.info.parentNode}>");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public static void Link([In] NodeSlot left, [In] NodeSlot right)
|
||||
{
|
||||
if(left.info.IsInmappingSlot)
|
||||
{
|
||||
(left, right) = (right, left);
|
||||
}
|
||||
left.Linkable(right);
|
||||
// left一定是输出端
|
||||
if (left.info.targetSlots.Contains(right) == false)
|
||||
{
|
||||
UnlinkAll(right);
|
||||
|
||||
left.info.targetSlots.Add(right);
|
||||
left.info.targetSlotName = right.info.slotName;
|
||||
left.info.targetNodes.Add(right.info.parentNode);
|
||||
left.info.targetNodeID = WorkflowManager.instance.GetGraphNodeID(right.info.parentNode);
|
||||
|
||||
right.info.targetSlots.Clear();
|
||||
right.info.targetSlots.Add(left);
|
||||
right.info.targetNodes.Clear();
|
||||
right.info.targetNodes.Add(left.info.parentNode);
|
||||
right.info.targetNodeID = WorkflowManager.instance.GetGraphNodeID(left.info.parentNode);
|
||||
right.info.targetSlotName = left.info.slotName;
|
||||
|
||||
left.SetDirty();
|
||||
right.SetDirty();
|
||||
}
|
||||
}
|
||||
public static void Unlink([In] NodeSlot slot, NodeSlot targetSlot)
|
||||
{
|
||||
int index = slot.info.targetSlots.IndexOf(targetSlot);
|
||||
if (index != -1)
|
||||
Unlink(slot, index);
|
||||
}
|
||||
public static void Unlink([In] NodeSlot slot, int slotIndex)
|
||||
{
|
||||
var targetSlot = slot.info.targetSlots[slotIndex];
|
||||
slot.info.targetSlots.RemoveAt(slotIndex);
|
||||
slot.info.targetNodes.RemoveAt(slotIndex);
|
||||
if (slot.info.targetSlots.Count == 0)
|
||||
{
|
||||
slot.info.targetNodeID = -1;
|
||||
slot.info.targetSlotName = "";
|
||||
}
|
||||
int r_slotIndex = targetSlot.info.targetSlots.IndexOf(slot);
|
||||
if (targetSlot != null && r_slotIndex != -1)
|
||||
{
|
||||
targetSlot.info.targetSlots.RemoveAt(r_slotIndex);
|
||||
targetSlot.info.targetNodes.RemoveAt(r_slotIndex);
|
||||
if (targetSlot.info.targetSlots.Count == 0)
|
||||
{
|
||||
targetSlot.info.targetNodeID = -1;
|
||||
targetSlot.info.targetSlotName = "";
|
||||
}
|
||||
targetSlot.SetDirty();
|
||||
}
|
||||
slot.SetDirty();
|
||||
}
|
||||
public static void UnlinkAll([In] NodeSlot slot)
|
||||
{
|
||||
foreach (var otherSlot in slot.info.targetSlots)
|
||||
{
|
||||
int index = otherSlot.info.targetSlots.IndexOf(slot);
|
||||
otherSlot.info.targetSlots.RemoveAt(index);
|
||||
otherSlot.info.targetNodes.RemoveAt(index);
|
||||
if (otherSlot.info.targetSlots.Count == 0)
|
||||
{
|
||||
otherSlot.info.targetNodeID = -1;
|
||||
otherSlot.info.targetSlotName = "";
|
||||
}
|
||||
otherSlot.SetDirty();
|
||||
}
|
||||
slot.info.targetSlots.Clear();
|
||||
slot.info.targetNodes.Clear();
|
||||
slot.info.targetNodeID = -1;
|
||||
slot.info.targetSlotName = "";
|
||||
slot.SetDirty();
|
||||
}
|
||||
public bool LinkTo([In, Opt] NodeSlot slot)
|
||||
{
|
||||
if (slot != null)
|
||||
{
|
||||
Link(this, slot);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static NodeSlot CurrentHighLightSlot { get; private set; }
|
||||
public static INodeSlotLinkable CurrentLinkTarget;
|
||||
public static void EnableHighLight(NodeSlot slot)
|
||||
{
|
||||
if (CurrentHighLightSlot != null)
|
||||
{
|
||||
CurrentHighLightSlot.HighLight.SetActive(false);
|
||||
}
|
||||
CurrentHighLightSlot = slot;
|
||||
CurrentHighLightSlot.HighLight.SetActive(true);
|
||||
CurrentLinkTarget = slot;
|
||||
}
|
||||
public static void DisableAllHighLight()
|
||||
{
|
||||
if (CurrentHighLightSlot != null)
|
||||
{
|
||||
CurrentHighLightSlot.HighLight.SetActive(false);
|
||||
CurrentHighLightSlot = null;
|
||||
}
|
||||
}
|
||||
public static void DisableHighLight(NodeSlot slot)
|
||||
{
|
||||
if (CurrentHighLightSlot == slot)
|
||||
{
|
||||
CurrentHighLightSlot.HighLight.SetActive(false);
|
||||
CurrentHighLightSlot = null;
|
||||
CurrentLinkTarget = null;
|
||||
}
|
||||
}
|
||||
|
||||
public static readonly Vector3[] zeroVecs = new Vector3[0];
|
||||
public Vector3[] GetCurrentLinkingVectors()
|
||||
{
|
||||
if (this.info == null)
|
||||
return zeroVecs;
|
||||
if (info.targetSlots.Count > 0 && info.IsInmappingSlot)
|
||||
{
|
||||
Vector3 position = this.Anchor.position;
|
||||
Vector3 localPosition = this.Anchor.localPosition;
|
||||
Vector3 targetPosition = info.targetSlots[0].Anchor.position;
|
||||
float offset = Mathf.Clamp((targetPosition - position).magnitude * ScaleFactor, 0, 30);
|
||||
return new Vector3[]{
|
||||
localPosition,
|
||||
localPosition+Vector3.left*offset,
|
||||
(targetPosition-position)*ScaleFactor+ localPosition+Vector3.right*offset,
|
||||
(targetPosition-position)*ScaleFactor+ localPosition
|
||||
};
|
||||
}
|
||||
else return zeroVecs;
|
||||
}
|
||||
|
||||
[Content, OnlyPlayMode, Ignore] private NodeSlotInfo m_info;
|
||||
public NodeSlotInfo info { get => m_info; private set => m_info = value; }
|
||||
public void SetupFromInfo(NodeSlotInfo value)
|
||||
{
|
||||
if (info != value)
|
||||
{
|
||||
info = value;
|
||||
info.slot = this;
|
||||
SetDirty();
|
||||
}
|
||||
}
|
||||
[Resources, OnlyNotNullMode, SerializeField] private Text Title;
|
||||
[Resources, OnlyNotNullMode, SerializeField] private LineRenderer LineRenderer;
|
||||
[Resources, OnlyNotNullMode, SerializeField] private Transform Anchor;
|
||||
[Resources, OnlyNotNullMode, SerializeField] private GameObject HighLight;
|
||||
[Setting] public float Offset = 1;
|
||||
[Content, SerializeField] private Vector3[] Points = new Vector3[0];
|
||||
|
||||
public string title { get => ((ITitle)this.Title).title; set => ((ITitle)this.Title).title = value; }
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
UnlinkAll(this);
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
BehaviourContextManager contextManager = this.GetOrAddComponent<BehaviourContextManager>();
|
||||
contextManager.OnBeginDragEvent = BehaviourContextManager.InitializeContextSingleEvent(contextManager.OnBeginDragEvent, BeginDragLine);
|
||||
contextManager.OnDragEvent = BehaviourContextManager.InitializeContextSingleEvent(contextManager.OnDragEvent, DragLine);
|
||||
contextManager.OnEndDragEvent = BehaviourContextManager.InitializeContextSingleEvent(contextManager.OnEndDragEvent, EndDragLine);
|
||||
contextManager.OnPointerEnterEvent = BehaviourContextManager.InitializeContextSingleEvent(contextManager.OnPointerEnterEvent, _ =>
|
||||
{
|
||||
if (
|
||||
CurrentHighLightSlot == null ||
|
||||
(CurrentHighLightSlot.info.IsInmappingSlot != this.info.IsInmappingSlot &&
|
||||
CurrentHighLightSlot.info.typeIndicator == this.info.typeIndicator)
|
||||
)
|
||||
EnableHighLight(this);
|
||||
});
|
||||
contextManager.OnPointerExitEvent = BehaviourContextManager.InitializeContextSingleEvent(contextManager.OnPointerExitEvent, _ =>
|
||||
{
|
||||
DisableHighLight(this);
|
||||
});
|
||||
}
|
||||
|
||||
[Content, Ignore, SerializeField] private bool IsKeepDrag = false;
|
||||
[Content, Ignore, SerializeField] private bool IsDirty = false;
|
||||
private void Update()
|
||||
{
|
||||
if (IsKeepDrag == false && IsDirty)
|
||||
{
|
||||
Points = GetCurrentLinkingVectors();
|
||||
UpdateLineImmediate();
|
||||
}
|
||||
else if (IsDirty)
|
||||
{
|
||||
RebuildLine();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetDirty()
|
||||
{
|
||||
IsDirty = true;
|
||||
}
|
||||
|
||||
public void RebuildLine()
|
||||
{
|
||||
LineRenderer.positionCount = Points.Length;
|
||||
LineRenderer.SetPositions(Points);
|
||||
}
|
||||
|
||||
public void UpdateLineImmediate()
|
||||
{
|
||||
RebuildLine();
|
||||
title = $"{WorkflowManager.Transformer(info.slotName)}({WorkflowManager.Transformer(info.typeIndicator)})";
|
||||
IsDirty = false;
|
||||
}
|
||||
|
||||
public void BeginDragLine(PointerEventData _)
|
||||
{
|
||||
if (this.info.IsInmappingSlot)
|
||||
UnlinkAll(this);
|
||||
IsKeepDrag = true;
|
||||
SetDirty();
|
||||
}
|
||||
public void DragLine(PointerEventData pointer)
|
||||
{
|
||||
Points = new Vector3[] { Anchor.localPosition, (pointer.pointerCurrentRaycast.worldPosition - Anchor.position) * ScaleFactor + Anchor.localPosition };
|
||||
SetDirty();
|
||||
}
|
||||
public void EndDragLine(PointerEventData _)
|
||||
{
|
||||
IsKeepDrag = false;
|
||||
if (CurrentHighLightSlot != null && CurrentHighLightSlot.info.IsInmappingSlot != this.info.IsInmappingSlot)
|
||||
{
|
||||
Link(this, CurrentHighLightSlot);
|
||||
}
|
||||
SetDirty();
|
||||
DisableAllHighLight();
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/NodeSlot.cs.meta
Normal file
11
Convention/[Visual]/Workflow/NodeSlot.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fd0126d735f2225428b21f2121ecc526
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/Workflow/Nodes.meta
Normal file
8
Convention/[Visual]/Workflow/Nodes.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d26371adfa7e4db47bd11b8cbf4f9307
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/Workflow/Nodes/DisplayerNode.cs
Normal file
8
Convention/[Visual]/Workflow/Nodes/DisplayerNode.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
|
||||
}
|
11
Convention/[Visual]/Workflow/Nodes/DisplayerNode.cs.meta
Normal file
11
Convention/[Visual]/Workflow/Nodes/DisplayerNode.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05e37045826234d469d8aa11593c65f6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
162
Convention/[Visual]/Workflow/Nodes/EndNode.cs
Normal file
162
Convention/[Visual]/Workflow/Nodes/EndNode.cs
Normal file
@@ -0,0 +1,162 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class EndNodeInfo : NodeInfo
|
||||
{
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new EndNodeInfo();
|
||||
}
|
||||
}
|
||||
|
||||
public class EndNode : Node, INodeSlotLinkable
|
||||
{
|
||||
internal static List<EndNode> AllEndNodes = new();
|
||||
|
||||
// ContextBehaviour
|
||||
|
||||
public object end_result;
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
end_result = null;
|
||||
AllEndNodes.Add(this);
|
||||
var context = gameObject.GetOrAddComponent<BehaviourContextManager>();
|
||||
context.OnPointerClickEvent = BehaviourContextManager.InitializeContextSingleEvent(context.OnPointerClickEvent, PointerRightClickAndOpenMenu);
|
||||
}
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
AllEndNodes.Remove(this);
|
||||
}
|
||||
|
||||
private Dictionary<string, PropertiesWindow.ItemEntry> m_dynamicSlots = new();
|
||||
|
||||
public override void PointerRightClickAndOpenMenu(PointerEventData pointer)
|
||||
{
|
||||
if (pointer.button == PointerEventData.InputButton.Right)
|
||||
{
|
||||
List<SharedModule.CallbackData> callbacks = new()
|
||||
{
|
||||
new (WorkflowManager.Transformer("Create New Slot"), x =>
|
||||
{
|
||||
SharedModule.instance.SingleEditString(
|
||||
WorkflowManager.Transformer("SlotName"),
|
||||
WorkflowManager.Transformer("SlotName"),
|
||||
y => AddSlot(y,"string"));
|
||||
}),
|
||||
new (WorkflowManager.Transformer("Delete"), x =>
|
||||
{
|
||||
WorkflowManager.instance.DestroyNode(this);
|
||||
})
|
||||
};
|
||||
SharedModule.instance.OpenCustomMenu(WorkflowManager.instance.UIFocusObject, callbacks.ToArray());
|
||||
}
|
||||
}
|
||||
|
||||
public bool AddSlot(string name, string typeIndicator)
|
||||
{
|
||||
if (this.m_Inmapping.ContainsKey(name))
|
||||
return false;
|
||||
var entry = CreateGraphNodeInSlots(1)[0];
|
||||
RectTransform curEntryRect = entry.ref_value.transform as RectTransform;
|
||||
this.m_Inmapping[name] = entry.ref_value.GetComponent<NodeSlot>();
|
||||
this.m_Inmapping[name].SetupFromInfo(new NodeSlotInfo()
|
||||
{
|
||||
parentNode = this,
|
||||
slotName = name,
|
||||
typeIndicator = typeIndicator,
|
||||
IsInmappingSlot = true
|
||||
});
|
||||
m_dynamicSlots.Add(name, entry);
|
||||
this.rectTransform.sizeDelta = new Vector2(this.rectTransform.sizeDelta.x, this.rectTransform.sizeDelta.y + curEntryRect.rect.height);
|
||||
ConventionUtility.CreateSteps().Wait(1f, () =>
|
||||
{
|
||||
foreach (var (key, slot) in this.m_Inmapping)
|
||||
{
|
||||
slot.SetDirty();
|
||||
}
|
||||
}).Invoke();
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool RemoveSlot(string name)
|
||||
{
|
||||
if (this.m_Inmapping.ContainsKey(name) == false)
|
||||
return false;
|
||||
this.m_Inmapping.Remove(name);
|
||||
RectTransform curEntryRect = m_dynamicSlots[name].ref_value.transform as RectTransform;
|
||||
this.rectTransform.sizeDelta = new Vector2(this.rectTransform.sizeDelta.x, this.rectTransform.sizeDelta.y - curEntryRect.rect.height);
|
||||
m_dynamicSlots[name].Release();
|
||||
m_dynamicSlots.Remove(name);
|
||||
ConventionUtility.CreateSteps().Next(() =>
|
||||
{
|
||||
foreach (var (key, slot) in this.m_Inmapping)
|
||||
{
|
||||
slot.SetDirty();
|
||||
}
|
||||
}).Invoke();
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool LinkTo([In, Opt] NodeSlot other)
|
||||
{
|
||||
if (Linkable(other))
|
||||
{
|
||||
AddSlot(other.info.slotName, other.info.typeIndicator);
|
||||
var slot = m_dynamicSlots[other.info.slotName].ref_value.GetComponent<NodeSlot>();
|
||||
if (slot.Linkable(other))
|
||||
{
|
||||
slot.LinkTo(other);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Linkable([In] NodeSlot other)
|
||||
{
|
||||
return other != null && other.info.IsInmappingSlot == false;
|
||||
}
|
||||
|
||||
[return: ReturnMayNull]
|
||||
public GameObject GetExtensionModule(string slotName)
|
||||
{
|
||||
if (this.m_Inmapping.ContainsKey(slotName))
|
||||
{
|
||||
return this.m_Inmapping[slotName].ExtensionModule;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
[return: ReturnMayNull]
|
||||
public T GetExtensionModule<T>(string slotName) where T : Component
|
||||
{
|
||||
if (this.m_Inmapping.ContainsKey(slotName))
|
||||
{
|
||||
var go = this.m_Inmapping[slotName].ExtensionModule;
|
||||
if (go != null)
|
||||
{
|
||||
return ConventionUtility.SeekComponent<T>(go);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public List<string> GetAllInslotNames()
|
||||
{
|
||||
return m_Inmapping.Keys.ToList();
|
||||
}
|
||||
public bool ContainsInslot(string slotName)
|
||||
{
|
||||
return m_Inmapping.ContainsKey(slotName);
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/Nodes/EndNode.cs.meta
Normal file
11
Convention/[Visual]/Workflow/Nodes/EndNode.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 227064b71f46ce54aba01ed5a07a6da9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/Workflow/Nodes/StartNodes.meta
Normal file
8
Convention/[Visual]/Workflow/Nodes/StartNodes.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d6e06d4260762a44e9e66ca0669eedc1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class ResourceNodeInfo : StartNodeInfo
|
||||
{
|
||||
[NonSerialized] private string l_resource = WorkflowManager.Transformer(nameof(resource));
|
||||
[InspectorDraw(InspectorDrawType.Text, true, true, nameGenerater: nameof(l_resource))]
|
||||
public string resource = "unknown";
|
||||
|
||||
public ResourceNodeInfo() : this("") { }
|
||||
public ResourceNodeInfo(string resource, string outmappingName = "value")
|
||||
{
|
||||
this.resource = resource;
|
||||
this.outmapping = new()
|
||||
{
|
||||
{
|
||||
outmappingName, new NodeSlotInfo()
|
||||
{
|
||||
slotName = outmappingName,
|
||||
typeIndicator = "string",
|
||||
IsInmappingSlot = false,
|
||||
}
|
||||
}
|
||||
};
|
||||
this.inmapping = new();
|
||||
this.title = "Resource";
|
||||
}
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new ResourceNodeInfo();
|
||||
}
|
||||
protected override void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
((ResourceNodeInfo)clonen).resource = this.resource;
|
||||
base.CloneValues(clonen);
|
||||
}
|
||||
}
|
||||
|
||||
public class ResourceNode : StartNode, IText
|
||||
{
|
||||
[Resources, OnlyNotNullMode] public ModernUIInputField InputField;
|
||||
[Content, OnlyPlayMode] public bool isEditing = false;
|
||||
|
||||
public ResourceNodeInfo MyResourceNodeInfo => this.info as ResourceNodeInfo;
|
||||
|
||||
public string text { get => ((IText)this.InputField).text; set => ((IText)this.InputField).text = value; }
|
||||
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
InputField.InputFieldSource.Source.onSelect.AddListener(_ => isEditing = true);
|
||||
InputField.InputFieldSource.Source.onEndEdit.AddListener(str =>
|
||||
{
|
||||
MyResourceNodeInfo.resource = str;
|
||||
isEditing = false;
|
||||
});
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
if (info != null && this.isEditing == false && RectTransformExtension.IsVisible(this.rectTransform))
|
||||
{
|
||||
this.text = this.MyResourceNodeInfo.resource;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24bfe76a1dd2f914c8222f30cf7e61b0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class SelectorNodeInfo : StartNodeInfo
|
||||
{
|
||||
public virtual IEnumerable<string> EnumNamesGenerater()
|
||||
{
|
||||
return new List<string>()
|
||||
{
|
||||
WorkflowManager.Transformer("unknown")
|
||||
};
|
||||
}
|
||||
|
||||
[NonSerialized] private string l_select = WorkflowManager.Transformer(nameof(select));
|
||||
[InspectorDraw(InspectorDrawType.Enum, true, false, nameGenerater: nameof(l_select), enumGenerater: nameof(EnumNamesGenerater))]
|
||||
public string select = "";
|
||||
|
||||
public SelectorNodeInfo() : this("") { }
|
||||
public SelectorNodeInfo(string select, string outputName = "select")
|
||||
{
|
||||
this.select = select;
|
||||
this.outmapping = new()
|
||||
{
|
||||
{
|
||||
outputName, new NodeSlotInfo()
|
||||
{
|
||||
slotName = outputName,
|
||||
typeIndicator="string",
|
||||
IsInmappingSlot=false
|
||||
}
|
||||
}
|
||||
};
|
||||
this.inmapping = new();
|
||||
this.title = "Selector";
|
||||
}
|
||||
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new SelectorNodeInfo();
|
||||
}
|
||||
protected override void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
var info = (SelectorNodeInfo)clonen;
|
||||
info.select = select;
|
||||
info.outmapping = new(outmapping);
|
||||
base.CloneValues(clonen);
|
||||
}
|
||||
}
|
||||
|
||||
public class SelectorNode : StartNode
|
||||
{
|
||||
[Resources, OnlyNotNullMode,SerializeField] private ModernUIDropdown DropDown;
|
||||
|
||||
public SelectorNodeInfo MySelectorInfo => info as SelectorNodeInfo;
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
DropDown.AddListener(x => MySelectorInfo.select = x);
|
||||
}
|
||||
|
||||
protected virtual void RebuildDropDown(ModernUIDropdown dropdown, SelectorNodeInfo info)
|
||||
{
|
||||
foreach (var name in info.EnumNamesGenerater())
|
||||
{
|
||||
dropdown.CreateOption(name);
|
||||
}
|
||||
dropdown.RefreshImmediate();
|
||||
if (string.IsNullOrEmpty(info.select) == false)
|
||||
dropdown.Select(info.select);
|
||||
}
|
||||
|
||||
protected override void WhenSetup(NodeInfo info)
|
||||
{
|
||||
RebuildDropDown(DropDown, info as SelectorNodeInfo);
|
||||
base.WhenSetup(info);
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f9707e651688bd4f89ece4047a68b95
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
73
Convention/[Visual]/Workflow/Nodes/StartNodes/TextNode.cs
Normal file
73
Convention/[Visual]/Workflow/Nodes/StartNodes/TextNode.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
using System.Linq;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class TextNodeInfo : StartNodeInfo
|
||||
{
|
||||
private string l_text => WorkflowManager.Transformer(nameof(text));
|
||||
[InspectorDraw(InspectorDrawType.Text, nameGenerater: nameof(l_text))]
|
||||
public string text;
|
||||
|
||||
public TextNodeInfo() : this("") { }
|
||||
public TextNodeInfo(string text, string outmappingName = "text")
|
||||
{
|
||||
this.text = text;
|
||||
this.outmapping = new()
|
||||
{
|
||||
{
|
||||
outmappingName, new NodeSlotInfo()
|
||||
{
|
||||
slotName = outmappingName,
|
||||
typeIndicator = "string",
|
||||
IsInmappingSlot = false,
|
||||
}
|
||||
}
|
||||
};
|
||||
this.inmapping = new();
|
||||
this.title = "Text";
|
||||
}
|
||||
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new TextNodeInfo();
|
||||
}
|
||||
protected override void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
((TextNodeInfo)clonen).text = text;
|
||||
base.CloneValues(clonen);
|
||||
}
|
||||
}
|
||||
|
||||
public class TextNode : StartNode, IText
|
||||
{
|
||||
[Resources, OnlyNotNullMode] public ModernUIInputField InputField;
|
||||
[Content, OnlyPlayMode] public bool isEditing = false;
|
||||
|
||||
public TextNodeInfo MyTextNodeInfo => this.info as TextNodeInfo;
|
||||
|
||||
public string text { get => ((IText)this.InputField).text; set => ((IText)this.InputField).text = value; }
|
||||
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
InputField.InputFieldSource.Source.onSelect.AddListener(_ => isEditing = true);
|
||||
InputField.InputFieldSource.Source.onEndEdit.AddListener(str =>
|
||||
{
|
||||
MyTextNodeInfo.text = str;
|
||||
isEditing = false;
|
||||
});
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
if (info != null && this.isEditing == false && RectTransformExtension.IsVisible(this.rectTransform))
|
||||
{
|
||||
this.text = this.MyTextNodeInfo.text;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eaab2d787a0d66642a89d8b957606de5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
96
Convention/[Visual]/Workflow/Nodes/StartNodes/ValueNode.cs
Normal file
96
Convention/[Visual]/Workflow/Nodes/StartNodes/ValueNode.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class ValueNodeInfo : StartNodeInfo
|
||||
{
|
||||
[NonSerialized] private string l_value = WorkflowManager.Transformer(nameof(value));
|
||||
[InspectorDraw(InspectorDrawType.Text, true, true, nameGenerater: nameof(l_value))]
|
||||
public float value = 0;
|
||||
[NonSerialized] private string l_min = WorkflowManager.Transformer(nameof(min));
|
||||
[InspectorDraw(InspectorDrawType.Auto, true, true, nameGenerater: nameof(l_min))]
|
||||
public float min = 0;
|
||||
[NonSerialized]private string l_max = WorkflowManager.Transformer(nameof(max));
|
||||
[InspectorDraw(InspectorDrawType.Auto, true, true, nameGenerater: nameof(l_max))]
|
||||
public float max = 1;
|
||||
|
||||
public ValueNodeInfo() : this(0) { }
|
||||
public ValueNodeInfo(float value, string outmappingName = "value")
|
||||
{
|
||||
this.value = value;
|
||||
this.outmapping = new()
|
||||
{
|
||||
{
|
||||
outmappingName, new NodeSlotInfo()
|
||||
{
|
||||
slotName = outmappingName,
|
||||
typeIndicator = "float",
|
||||
IsInmappingSlot = false,
|
||||
}
|
||||
}
|
||||
};
|
||||
this.inmapping = new();
|
||||
this.title = "Value";
|
||||
}
|
||||
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new ValueNodeInfo();
|
||||
}
|
||||
protected override void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
var info = ((ValueNodeInfo)clonen);
|
||||
info.value = value;
|
||||
info.min = min;
|
||||
info.max = max;
|
||||
base.CloneValues(clonen);
|
||||
}
|
||||
}
|
||||
|
||||
public class ValueNode : StartNode, IText
|
||||
{
|
||||
[Resources, OnlyNotNullMode] public ModernUIInputField InputField;
|
||||
[Resources, OnlyNotNullMode] public ModernUIFillBar RangeBar;
|
||||
[Content, OnlyPlayMode] public bool isEditing = false;
|
||||
|
||||
public ValueNodeInfo MyValueNodeInfo => this.info as ValueNodeInfo;
|
||||
|
||||
public string text { get => ((IText)this.InputField).text; set => ((IText)this.InputField).text = value; }
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
InputField.InputFieldSource.Source.onSelect.AddListener(_ => isEditing = true);
|
||||
InputField.InputFieldSource.Source.onEndEdit.AddListener(str =>
|
||||
{
|
||||
if (float.TryParse(str, out float value))
|
||||
MyValueNodeInfo.value = value;
|
||||
else
|
||||
MyValueNodeInfo.value = 0;
|
||||
isEditing = false;
|
||||
});
|
||||
}
|
||||
|
||||
protected override void WhenSetup(NodeInfo info)
|
||||
{
|
||||
base.WhenSetup(info);
|
||||
RangeBar.minValue = MyValueNodeInfo.min;
|
||||
RangeBar.maxValue = MyValueNodeInfo.max;
|
||||
RangeBar.SetValue(MyValueNodeInfo.value);
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
if (info != null && this.isEditing == false && RectTransformExtension.IsVisible(this.rectTransform))
|
||||
{
|
||||
RangeBar.minValue = MyValueNodeInfo.min;
|
||||
RangeBar.maxValue = MyValueNodeInfo.max;
|
||||
RangeBar.SetValue(MyValueNodeInfo.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8404795928101e843ad4d836cea5c1f1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
332
Convention/[Visual]/Workflow/OnEntryRunWorkflow.anim
Normal file
332
Convention/[Visual]/Workflow/OnEntryRunWorkflow.anim
Normal file
@@ -0,0 +1,332 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: OnEntryRunWorkflow
|
||||
serializedVersion: 7
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.083333336
|
||||
value: 0.5
|
||||
inSlope: 3.6
|
||||
outSlope: 3.6
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.25
|
||||
value: 0.9
|
||||
inSlope: 0.43636376
|
||||
outSlope: 0.43636376
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Alpha
|
||||
path: UI Canvas/AnimationPlane
|
||||
classID: 225
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.25
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.41666666
|
||||
value: 100
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_SizeDelta.y
|
||||
path: UI Canvas/AnimationPlane/Shadow/Image
|
||||
classID: 224
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.016666668
|
||||
value: 1
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_BlocksRaycasts
|
||||
path: UI Canvas/AnimationPlane
|
||||
classID: 225
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_PPtrCurves: []
|
||||
m_SampleRate: 60
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 4103470125
|
||||
attribute: 1574349066
|
||||
script: {fileID: 0}
|
||||
typeID: 225
|
||||
customType: 0
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
- serializedVersion: 2
|
||||
path: 355489497
|
||||
attribute: 38095219
|
||||
script: {fileID: 0}
|
||||
typeID: 224
|
||||
customType: 28
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
- serializedVersion: 2
|
||||
path: 4103470125
|
||||
attribute: 3739863151
|
||||
script: {fileID: 0}
|
||||
typeID: 225
|
||||
customType: 0
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 0
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.083333336
|
||||
value: 0.5
|
||||
inSlope: 3.6
|
||||
outSlope: 3.6
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.25
|
||||
value: 0.9
|
||||
inSlope: 0.43636376
|
||||
outSlope: 0.43636376
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Alpha
|
||||
path: UI Canvas/AnimationPlane
|
||||
classID: 225
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.25
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.41666666
|
||||
value: 100
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_SizeDelta.y
|
||||
path: UI Canvas/AnimationPlane/Shadow/Image
|
||||
classID: 224
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.016666668
|
||||
value: 1
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: Infinity
|
||||
outSlope: Infinity
|
||||
tangentMode: 103
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_BlocksRaycasts
|
||||
path: UI Canvas/AnimationPlane
|
||||
classID: 225
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cbeef9f55988bc645a8bcf751e8779f4
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
18
Convention/[Visual]/Workflow/StartNode.cs
Normal file
18
Convention/[Visual]/Workflow/StartNode.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class StartNodeInfo : NodeInfo
|
||||
{
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new StartNodeInfo();
|
||||
}
|
||||
}
|
||||
|
||||
public class StartNode : Node
|
||||
{
|
||||
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/StartNode.cs.meta
Normal file
11
Convention/[Visual]/Workflow/StartNode.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea9e2ae1ef3fbf441aaf9fe79a3639c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
134
Convention/[Visual]/Workflow/StepNode.cs
Normal file
134
Convention/[Visual]/Workflow/StepNode.cs
Normal file
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class StepNodeInfo : NodeInfo
|
||||
{
|
||||
public string module = "global";
|
||||
public string funcname = "";
|
||||
protected override NodeInfo CreateTemplate()
|
||||
{
|
||||
return new StepNodeInfo();
|
||||
}
|
||||
protected override void CloneValues([In] NodeInfo clonen)
|
||||
{
|
||||
var info = (StepNodeInfo)clonen;
|
||||
info.module = module;
|
||||
info.funcname = funcname;
|
||||
base.CloneValues(clonen);
|
||||
}
|
||||
}
|
||||
|
||||
public class StepNode : Node
|
||||
{
|
||||
[Resources, OnlyNotNullMode] public ModernUIDropdown FunctionSelector;
|
||||
|
||||
public StepNodeInfo MyStepInfo => info as StepNodeInfo;
|
||||
|
||||
private void ClearSelector()
|
||||
{
|
||||
FunctionSelector.ClearOptions();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
if (WorkflowManager.instance == null)
|
||||
return;
|
||||
ClearSelector();
|
||||
var names = WorkflowManager.instance.GetAllModuleName();
|
||||
if (names.Count > 0)
|
||||
{
|
||||
SelectModel(names);
|
||||
}
|
||||
else
|
||||
{
|
||||
FunctionSelector.CreateOption(WorkflowManager.Transformer("No Module Registered"));
|
||||
}
|
||||
}
|
||||
|
||||
private void SelectModel(List<string> names)
|
||||
{
|
||||
foreach (var moduleName in names)
|
||||
{
|
||||
this.FunctionSelector.CreateOption(WorkflowManager.Transformer(moduleName)).toggleEvents.AddListener(x =>
|
||||
{
|
||||
if (x)
|
||||
{
|
||||
ClearSelector();
|
||||
SelectFunctionModel(moduleName);
|
||||
}
|
||||
});
|
||||
}
|
||||
this.FunctionSelector.RefreshImmediate();
|
||||
}
|
||||
|
||||
private void SelectFunctionModel(string moduleName)
|
||||
{
|
||||
foreach (var funcModel in WorkflowManager.instance.GetAllFunctionModel(moduleName))
|
||||
{
|
||||
this.FunctionSelector.CreateOption(WorkflowManager.Transformer(funcModel.name)).toggleEvents.AddListener(y =>
|
||||
{
|
||||
if (y)
|
||||
{
|
||||
SetupWhenFunctionNameCatch(funcModel);
|
||||
}
|
||||
});
|
||||
}
|
||||
this.FunctionSelector.RefreshImmediate();
|
||||
}
|
||||
|
||||
public void SetupWhenFunctionNameCatch(FunctionModel funcModel)
|
||||
{
|
||||
var oriExtensionHeight = this.ExtensionHeight;
|
||||
this.ExtensionHeight = 0;
|
||||
this.MyStepInfo.module = funcModel.module;
|
||||
this.MyStepInfo.funcname = funcModel.name;
|
||||
this.MyStepInfo.inmapping = new();
|
||||
if (this.MyStepInfo.title == this.MyStepInfo.GetType().Name[..^4])
|
||||
this.MyStepInfo.title = funcModel.name;
|
||||
foreach (var (name, type) in funcModel.parameters)
|
||||
{
|
||||
this.MyStepInfo.inmapping[name] = new NodeSlotInfo()
|
||||
{
|
||||
slotName = name,
|
||||
typeIndicator = type,
|
||||
IsInmappingSlot = true
|
||||
};
|
||||
}
|
||||
this.MyStepInfo.outmapping = new();
|
||||
foreach (var (name, type) in funcModel.returns)
|
||||
{
|
||||
this.MyStepInfo.outmapping[name] = new NodeSlotInfo()
|
||||
{
|
||||
slotName = name,
|
||||
typeIndicator = type,
|
||||
IsInmappingSlot = false
|
||||
};
|
||||
}
|
||||
this.FunctionSelector.gameObject.SetActive(false);
|
||||
this.ExtensionHeight = 0;
|
||||
this.ClearLink();
|
||||
this.ClearSlots();
|
||||
this.BuildSlots();
|
||||
this.BuildLink();
|
||||
this.InoutContainerPlane.rectTransform.sizeDelta = new Vector2(
|
||||
this.InoutContainerPlane.rectTransform.sizeDelta.x,
|
||||
this.InoutContainerPlane.rectTransform.sizeDelta.y + oriExtensionHeight
|
||||
);
|
||||
this.RefreshRectTransform();
|
||||
}
|
||||
|
||||
protected override void WhenSetup(NodeInfo info)
|
||||
{
|
||||
base.WhenSetup(info);
|
||||
if (string.IsNullOrEmpty(MyStepInfo.funcname) == false)
|
||||
{
|
||||
SetupWhenFunctionNameCatch(WorkflowManager.instance.GetFunctionModel(MyStepInfo.module, MyStepInfo.funcname));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/StepNode.cs.meta
Normal file
11
Convention/[Visual]/Workflow/StepNode.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c3a9d5b6db27ae4bb28554ecc681b6f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
130
Convention/[Visual]/Workflow/WorkflowGraph.controller
Normal file
130
Convention/[Visual]/Workflow/WorkflowGraph.controller
Normal file
@@ -0,0 +1,130 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1107 &-8138631149079467525
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -4332790445053841364}
|
||||
m_Position: {x: 400, y: 70, z: 0}
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -2159031066727738487}
|
||||
m_Position: {x: 50, y: 170, z: 0}
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -5526377917478383796}
|
||||
m_Position: {x: 400, y: 120, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 60, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: -2159031066727738487}
|
||||
--- !u!1102 &-5526377917478383796
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: OnQuitRunWorkflow
|
||||
m_Speed: -1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: cbeef9f55988bc645a8bcf751e8779f4, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1102 &-4332790445053841364
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: OnEntryRunWorkflow
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: cbeef9f55988bc645a8bcf751e8779f4, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1102 &-2159031066727738487
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New State
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 0}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WorkflowGraph
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: -8138631149079467525}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4891df624d2e69241bb634ec11c36645
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
383
Convention/[Visual]/Workflow/WorkflowManager.cs
Normal file
383
Convention/[Visual]/Workflow/WorkflowManager.cs
Normal file
@@ -0,0 +1,383 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
[Serializable, ArgPackage]
|
||||
public class NodeResult
|
||||
{
|
||||
public int nodeID;
|
||||
public string nodeTitle;
|
||||
public Dictionary<string, string> result;
|
||||
}
|
||||
|
||||
[Serializable, ArgPackage]
|
||||
public class ContextResult
|
||||
{
|
||||
public string hashID;
|
||||
public List<NodeResult> results;
|
||||
public float progress;
|
||||
public int task_count;
|
||||
public List<int> current_running_nodes;
|
||||
}
|
||||
|
||||
[Serializable, ArgPackage]
|
||||
public class FunctionModel
|
||||
{
|
||||
public string name = "unknown";
|
||||
public string description = "unknown";
|
||||
public Dictionary<string, string> parameters = new();
|
||||
public Dictionary<string, string> returns = new();
|
||||
public string module = "global";
|
||||
}
|
||||
|
||||
[Serializable, ArgPackage]
|
||||
public class Workflow
|
||||
{
|
||||
public List<NodeInfo> Datas = new();
|
||||
[NonSerialized] public List<Node> Nodes = new();
|
||||
public List<FunctionModel> Functions = new();
|
||||
}
|
||||
|
||||
public class WorkflowManager : MonoSingleton<WorkflowManager>
|
||||
{
|
||||
public static float CameraZ = 0;
|
||||
|
||||
[Content] public Workflow m_workflow;
|
||||
public Workflow workflow
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_workflow;
|
||||
}
|
||||
//set
|
||||
//{
|
||||
// if (m_workflow == value)
|
||||
// return;
|
||||
// ClearWorkflowGraph();
|
||||
// m_workflow = value;
|
||||
// BuildWorkflowGraph();
|
||||
//}
|
||||
}
|
||||
[Resources, OnlyNotNullMode, SerializeField] private Transform m_CameraTransform;
|
||||
[Setting] public float ScrollSpeed = 1;
|
||||
[Setting, OnlyNotNullMode] public ScriptableObject GraphNodePrefabs;
|
||||
[Setting, HopeNotNull] public ScriptableObject TextLabels;
|
||||
|
||||
//[Resources, SerializeField, OnlyNotNullMode, Header("Prefabs")]
|
||||
//private GameObject GraphNodePrefab;
|
||||
[Resources, SerializeField, OnlyNotNullMode, Header("Content")]
|
||||
public RectTransform ContentPlane;
|
||||
[Resources, SerializeField, OnlyNotNullMode, Header("Mouse Click")]
|
||||
public RectTransform focusObject;
|
||||
[SerializeField, OnlyNotNullMode]
|
||||
public RectTransform UIFocusObject;
|
||||
private List<SharedModule.CallbackData> callbackDatas = new();
|
||||
private HashSet<Type> registeredCallbackNodeType = new();
|
||||
|
||||
public Dictionary<string, List<FunctionModel>> CallableFunctionModels = new();
|
||||
|
||||
|
||||
public void RegisterFunctionModel([In] FunctionModel func)
|
||||
{
|
||||
if (!CallableFunctionModels.ContainsKey(func.module))
|
||||
CallableFunctionModels[func.module] = new();
|
||||
CallableFunctionModels[func.module].Add(func);
|
||||
Debug.Log($"[{String.Join(", ", func.returns.ToList().ConvertAll(x => $"{x.Key}: {x.Value}"))}] {func.name}" +
|
||||
$"({String.Join(", ", func.parameters.ToList().ConvertAll(x => $"{x.Key}: {x.Value}"))}): {func.description}");
|
||||
}
|
||||
public void UnregisterFunctionModel([In] FunctionModel func)
|
||||
{
|
||||
CallableFunctionModels[func.module].Remove(func);
|
||||
}
|
||||
public List<string> GetAllModuleName()
|
||||
{
|
||||
return CallableFunctionModels.Keys.ToList();
|
||||
}
|
||||
public List<string> GetAllFunctionName(string module)
|
||||
{
|
||||
return CallableFunctionModels[module].ConvertAll(x => x.name);
|
||||
}
|
||||
public bool ContainsModule(string module)
|
||||
{
|
||||
return CallableFunctionModels.ContainsKey(module);
|
||||
}
|
||||
public bool ContainsFunctionModel(string module, string functionName)
|
||||
{
|
||||
return ContainsModule(module) && CallableFunctionModels[module].Any(y => y.name == functionName);
|
||||
}
|
||||
public List<FunctionModel> GetAllFunctionModel(string module)
|
||||
{
|
||||
return CallableFunctionModels[module];
|
||||
}
|
||||
[return: ReturnMayNull]
|
||||
public FunctionModel GetFunctionModel(string module,string functionName)
|
||||
{
|
||||
if (ContainsModule(module))
|
||||
return CallableFunctionModels[module].FirstOrDefault(x => x.name == functionName);
|
||||
return null;
|
||||
}
|
||||
|
||||
public delegate bool CustomTransformer([In] string word, out string late);
|
||||
public List<CustomTransformer> customTransformers = new();
|
||||
public static string Transformer([In] string str)
|
||||
{
|
||||
if (string.IsNullOrEmpty(str))
|
||||
return str;
|
||||
if (instance != null)
|
||||
{
|
||||
foreach (var customTransformer in instance.customTransformers)
|
||||
{
|
||||
if (customTransformer(str, out var result))
|
||||
{
|
||||
var menuButton = instance.callbackDatas.Find(x => x.name == str);
|
||||
if (menuButton != null)
|
||||
{
|
||||
menuButton.name = result;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if (instance.TextLabels == null)
|
||||
return str;
|
||||
if (instance.TextLabels.symbols.ContainsKey(str))
|
||||
return instance.TextLabels.symbols[str];
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
public void SetupWorkflowGraphNodeType([In] SharedModule.CallbackData callback)
|
||||
{
|
||||
callbackDatas.Add(callback);
|
||||
}
|
||||
public void SetupWorkflowGraphNodeType(params NodeInfo[] templates)
|
||||
{
|
||||
foreach (NodeInfo nodeInfo in templates)
|
||||
{
|
||||
if (registeredCallbackNodeType.Contains(nodeInfo.GetType()))
|
||||
continue;
|
||||
registeredCallbackNodeType.Add(nodeInfo.GetType());
|
||||
string label = nodeInfo.GetType().Name;
|
||||
if (label.EndsWith("Info"))
|
||||
label = label[..^4];
|
||||
SetupWorkflowGraphNodeType(new SharedModule.CallbackData(Transformer(label), x =>
|
||||
{
|
||||
var info = nodeInfo.TemplateClone();
|
||||
var node = this.CreateGraphNode(info);
|
||||
var pos = focusObject.position;
|
||||
node.transform.position = new Vector2(pos.x, pos.y);
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
callbackDatas = new();
|
||||
Architecture.RegisterWithDuplicateAllow(typeof(WorkflowManager), this, () =>
|
||||
{
|
||||
Debug.Log($"{nameof(WorkflowManager)} registered");
|
||||
if (GraphNodePrefabs == null)
|
||||
GraphNodePrefabs = Resources.Load<ScriptableObject>("Workflow/Nodes");
|
||||
SetupWorkflowGraphNodeType(
|
||||
new TextNodeInfo(),
|
||||
new ValueNodeInfo(),
|
||||
new ResourceNodeInfo(),
|
||||
new StepNodeInfo(),
|
||||
new EndNodeInfo());
|
||||
}, typeof(GraphInputWindow), typeof(GraphInspector));
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Keyboard.current[Key.LeftCtrl].isPressed)
|
||||
{
|
||||
var t = -Mouse.current.scroll.y.ReadValue() * ScrollSpeed * 0.001f;
|
||||
var z = m_CameraTransform.transform.localPosition.z;
|
||||
if (z - t > -100 && z - t < -5)
|
||||
m_CameraTransform.transform.Translate(new Vector3(0, 0, -t), Space.Self);
|
||||
}
|
||||
UIFocusObject.position = Mouse.current.position.ReadValue();
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
CameraZ = Camera.main.transform.position.z;
|
||||
}
|
||||
public void RefreshImmediate()
|
||||
{
|
||||
foreach (var node in workflow.Nodes)
|
||||
{
|
||||
node.RefreshImmediate();
|
||||
}
|
||||
}
|
||||
public void ClearWorkflowGraph()
|
||||
{
|
||||
foreach (var node in workflow.Nodes)
|
||||
{
|
||||
GameObject.Destroy(node.gameObject);
|
||||
}
|
||||
workflow.Nodes.Clear();
|
||||
workflow.Datas.Clear();
|
||||
}
|
||||
public void BuildWorkflowGraph()
|
||||
{
|
||||
foreach (var info in workflow.Datas)
|
||||
{
|
||||
CreateGraphNode(info);
|
||||
}
|
||||
}
|
||||
|
||||
public Node CreateGraphNode([In] NodeInfo info, bool isRefresh = true)
|
||||
{
|
||||
var node = info.Instantiate();
|
||||
node.gameObject.SetActive(true);
|
||||
node.transform.SetParent(ContentPlane);
|
||||
node.transform.localScale = Vector3.one;
|
||||
node.transform.eulerAngles = Vector3.zero;
|
||||
node.SetupFromInfo(info.TemplateClone(), isRefresh);
|
||||
workflow.Nodes.Add(node);
|
||||
node.MyNodeTab = GraphInputWindow.instance.RegisterOnHierarchyWindow(node.info);
|
||||
return node;
|
||||
}
|
||||
public void DestroyNode(Node node)
|
||||
{
|
||||
if (!workflow.Nodes.Remove(node))
|
||||
{
|
||||
throw new InvalidOperationException("node is not in current workflow");
|
||||
}
|
||||
GameObject.Destroy(node.gameObject);
|
||||
}
|
||||
public bool ContainsNode(int id)
|
||||
{
|
||||
if (id < 0)
|
||||
return false;
|
||||
return workflow.Nodes.Count < id;
|
||||
}
|
||||
public Node GetGraphNode(int id)
|
||||
{
|
||||
if (id < 0)
|
||||
return null;
|
||||
return workflow.Nodes[id];
|
||||
}
|
||||
public int GetGraphNodeID(Node node)
|
||||
{
|
||||
if (node == null)
|
||||
return -1;
|
||||
return workflow.Nodes.IndexOf(node);
|
||||
}
|
||||
|
||||
public void SaveWorkflowWithSystemPlugin()
|
||||
{
|
||||
var str = PluginExtenion.SaveFile("工作流|*.workflow;*.json", "保存工作流");
|
||||
if (string.IsNullOrEmpty(str) == false)
|
||||
SaveWorkflow(str);
|
||||
}
|
||||
public void LoadWorkflowWithSystemPlugin()
|
||||
{
|
||||
var str = PluginExtenion.SelectFile("工作流|*.workflow;*.json", "加载工作流");
|
||||
if (string.IsNullOrEmpty(str) == false)
|
||||
LoadWorkflow(str);
|
||||
}
|
||||
|
||||
[Content, OnlyPlayMode] public string LastSavePath = null;
|
||||
|
||||
public static string WorkflowFileKey = "workflow";
|
||||
|
||||
public ToolFile SaveWorkflow(string workflowPath)
|
||||
{
|
||||
LastSavePath = workflowPath;
|
||||
ToolFile local = new(workflowPath);
|
||||
ToolFile parent = local.GetParentDir();
|
||||
if (parent.Exists() == false)
|
||||
throw new FileNotFoundException($"{parent} is not exist");
|
||||
workflow.Datas.Clear();
|
||||
Debug.Log(workflow.Nodes.Count);
|
||||
foreach (var node in workflow.Nodes)
|
||||
{
|
||||
node.info.CopyFromNode(node);
|
||||
workflow.Datas.Add(node.info);
|
||||
}
|
||||
local.SaveAsJson(workflow, WorkflowFileKey);
|
||||
return local;
|
||||
}
|
||||
|
||||
public Workflow LoadWorkflow(Workflow workflow)
|
||||
{
|
||||
ClearWorkflowGraph();
|
||||
workflow.Datas.Sort((x, y) => x.nodeID.CompareTo(y.nodeID));
|
||||
for (int i = 0; i < workflow.Datas.Count; i++)
|
||||
{
|
||||
if (workflow.Datas[i].nodeID != i)
|
||||
throw new InvalidOperationException("Bad workflow: nodeID != node index");
|
||||
}
|
||||
this.m_workflow = new();
|
||||
foreach (var info in workflow.Datas)
|
||||
{
|
||||
var node = CreateGraphNode(info, false);
|
||||
this.workflow.Datas.Add(node.info);
|
||||
node.ClearSlots();
|
||||
node.BuildSlots();
|
||||
}
|
||||
ConventionUtility.CreateSteps().Next(() =>
|
||||
{
|
||||
for (int i = 0; i < workflow.Datas.Count; i++)
|
||||
{
|
||||
var info = workflow.Datas[i];
|
||||
var node = GetGraphNode(i);
|
||||
foreach (var (key, slot) in info.inmapping)
|
||||
{
|
||||
if (slot.targetNodeID != -1)
|
||||
this.workflow.Nodes[i].LinkInslotToOtherNodeOutslot(GetGraphNode(slot.targetNodeID), slot.slotName, slot.targetSlotName);
|
||||
}
|
||||
node.RefreshRectTransform();
|
||||
node.RefreshPosition();
|
||||
}
|
||||
}).Wait(0.1f, () =>
|
||||
{
|
||||
foreach (var node in this.workflow.Nodes)
|
||||
{
|
||||
node.RefreshImmediate();
|
||||
}
|
||||
}).Wait(1f, () =>
|
||||
{
|
||||
foreach (var node in this.workflow.Nodes)
|
||||
{
|
||||
node.RefreshImmediate();
|
||||
}
|
||||
}).Invoke();
|
||||
Debug.Log($"Current Workflow Nodes: count={this.workflow.Nodes.Count}");
|
||||
return this.workflow;
|
||||
}
|
||||
public Workflow LoadWorkflow(string workflowPath)
|
||||
{
|
||||
ToolFile local = new(workflowPath);
|
||||
if (local.Exists() == false)
|
||||
throw new FileNotFoundException($"{local} is not exist");
|
||||
LastSavePath = workflowPath;
|
||||
var loadedWorkflow = local.LoadAsJson<Workflow>(WorkflowFileKey);
|
||||
return LoadWorkflow(loadedWorkflow);
|
||||
}
|
||||
public void OpenMenu(PointerEventData data)
|
||||
{
|
||||
focusObject.position = data.pointerCurrentRaycast.worldPosition;
|
||||
#if UNITY_EDITOR
|
||||
if (callbackDatas.Count == 0)
|
||||
SharedModule.instance.OpenCustomMenu(UIFocusObject, new SharedModule.CallbackData("Empty", x => Debug.Log(x)));
|
||||
else
|
||||
#endif
|
||||
{
|
||||
foreach (var callbackData in callbackDatas)
|
||||
{
|
||||
Transformer(callbackData.name);
|
||||
}
|
||||
SharedModule.instance.OpenCustomMenu(UIFocusObject, callbackDatas.ToArray());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
Convention/[Visual]/Workflow/WorkflowManager.cs.meta
Normal file
11
Convention/[Visual]/Workflow/WorkflowManager.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd45ab603848a8147a3b02553e5bc1ba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/[Prefabs].meta
Normal file
8
Convention/[Visual]/[Prefabs].meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a94c2562ebfb6e4491616b21f232a3a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
189
Convention/[Visual]/[Prefabs]/Benchmark_Prefab.prefab
Normal file
189
Convention/[Visual]/[Prefabs]/Benchmark_Prefab.prefab
Normal file
@@ -0,0 +1,189 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1194520623583548762
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8132712973314222637}
|
||||
- component: {fileID: 2682277743158303610}
|
||||
- component: {fileID: 3402880044481262717}
|
||||
- component: {fileID: 8920008805867454334}
|
||||
- component: {fileID: 6506369038458274189}
|
||||
m_Layer: 0
|
||||
m_Name: Benchmark_Prefab
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8132712973314222637
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1194520623583548762}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3033895151238867298}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &2682277743158303610
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1194520623583548762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PanelSettings: {fileID: 11400000, guid: ba33de63d1649ba42b55b8beea949f5a, type: 2}
|
||||
m_ParentUI: {fileID: 0}
|
||||
sourceAsset: {fileID: 9197481963319205126, guid: e7dea75f7919436408a29190292ad5c5, type: 3}
|
||||
m_SortingOrder: 0
|
||||
--- !u!114 &3402880044481262717
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1194520623583548762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 10
|
||||
--- !u!114 &8920008805867454334
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1194520623583548762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_MoveRepeatDelay: 0.5
|
||||
m_MoveRepeatRate: 0.1
|
||||
m_XRTrackingOrigin: {fileID: 0}
|
||||
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_TrackedDevicePositionAction: {fileID: 4754684134866288074, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_TrackedDeviceOrientationAction: {fileID: 1025543830046995696, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_DeselectOnBackgroundClick: 1
|
||||
m_PointerBehavior: 0
|
||||
m_CursorLockBehavior: 0
|
||||
m_ScrollDeltaPerTick: 6
|
||||
--- !u!114 &6506369038458274189
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1194520623583548762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e3a26a4bb71ca7646b87c6f72d82f1e0, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
StageScenes:
|
||||
- enabled: 1
|
||||
sceneName: TerminalScene
|
||||
cameraPosition: {x: 0, y: 0, z: 0}
|
||||
cameraRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
useFullTimeline: 1
|
||||
- enabled: 1
|
||||
sceneName: GardenScene
|
||||
cameraPosition: {x: 0, y: 0, z: 0}
|
||||
cameraRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
useFullTimeline: 1
|
||||
- enabled: 1
|
||||
sceneName: OasisScene
|
||||
cameraPosition: {x: 0, y: 0, z: 0}
|
||||
cameraRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
useFullTimeline: 1
|
||||
- enabled: 1
|
||||
sceneName: CockpitScene
|
||||
cameraPosition: {x: 0, y: 0, z: 0}
|
||||
cameraRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
useFullTimeline: 1
|
||||
WaitTime: 5
|
||||
FramesToCapture: 500
|
||||
_testDataVisualTreeReference: {fileID: 9197481963319205126, guid: 32701d82a368f1644aed274f6e67367b, type: 3}
|
||||
currentTimingRefreshCount: 10
|
||||
CurrentTimingRefreshCounter: 11
|
||||
liveRefreshGraph: 0
|
||||
CameraPrefab: {fileID: 1184572588443782738, guid: f576361f019670b4a86271169e51522a, type: 3}
|
||||
_eventSystem: {fileID: 3402880044481262717}
|
||||
--- !u!1 &2347660263666688036
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3033895151238867298}
|
||||
- component: {fileID: 6038028693833600838}
|
||||
m_Layer: 0
|
||||
m_Name: GameObject
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &3033895151238867298
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2347660263666688036}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8132712973314222637}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &6038028693833600838
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2347660263666688036}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PanelSettings: {fileID: 11400000, guid: 7923546beae955540a6279f11eb5c41b, type: 2}
|
||||
m_ParentUI: {fileID: 2682277743158303610}
|
||||
sourceAsset: {fileID: 9197481963319205126, guid: 55b23197e3bc1df4c84c22c909c70d26, type: 3}
|
||||
m_SortingOrder: 0
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 657c1352c4888554a911c696f6366650
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
1648
Convention/[Visual]/[Prefabs]/Root Variant-FileSystem.prefab
Normal file
1648
Convention/[Visual]/[Prefabs]/Root Variant-FileSystem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5aafead2a24b174d96c319705d2c168
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
3244
Convention/[Visual]/[Prefabs]/Root.prefab
Normal file
3244
Convention/[Visual]/[Prefabs]/Root.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Convention/[Visual]/[Prefabs]/Root.prefab.meta
Normal file
7
Convention/[Visual]/[Prefabs]/Root.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48027c3ec4553d442a59415ffb40f209
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
165
Convention/[Visual]/[Prefabs]/TestCamera_Prefab.prefab
Normal file
165
Convention/[Visual]/[Prefabs]/TestCamera_Prefab.prefab
Normal file
@@ -0,0 +1,165 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1184572588443782738
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7508445662920479898}
|
||||
- component: {fileID: 1928354626886275204}
|
||||
- component: {fileID: 762334438915770542}
|
||||
- component: {fileID: 3821598483827413637}
|
||||
m_Layer: 0
|
||||
m_Name: TestCamera_Prefab
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7508445662920479898
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1184572588443782738}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!20 &1928354626886275204
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1184572588443782738}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!114 &762334438915770542
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1184572588443782738}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_RenderShadows: 1
|
||||
m_RequiresDepthTextureOption: 2
|
||||
m_RequiresOpaqueTextureOption: 2
|
||||
m_CameraType: 0
|
||||
m_Cameras: []
|
||||
m_RendererIndex: -1
|
||||
m_VolumeLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 1
|
||||
m_VolumeTrigger: {fileID: 0}
|
||||
m_VolumeFrameworkUpdateModeOption: 2
|
||||
m_RenderPostProcessing: 1
|
||||
m_Antialiasing: 3
|
||||
m_AntialiasingQuality: 2
|
||||
m_StopNaN: 0
|
||||
m_Dithering: 0
|
||||
m_ClearDepth: 1
|
||||
m_AllowXRRendering: 1
|
||||
m_AllowHDROutput: 1
|
||||
m_UseScreenCoordOverride: 0
|
||||
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_RequiresDepthTexture: 0
|
||||
m_RequiresColorTexture: 0
|
||||
m_Version: 2
|
||||
m_TaaSettings:
|
||||
quality: 2
|
||||
frameInfluence: 0.1
|
||||
jitterScale: 1
|
||||
mipBias: 0
|
||||
varianceClampScale: 0.9
|
||||
contrastAdaptiveSharpening: 0.2
|
||||
--- !u!114 &3821598483827413637
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1184572588443782738}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 72ece51f2901e7445ab60da3685d6b5f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_ShowDebugText: 0
|
||||
m_ShowCameraFrustum: 1
|
||||
m_IgnoreTimeScale: 0
|
||||
m_WorldUpOverride: {fileID: 0}
|
||||
m_UpdateMethod: 2
|
||||
m_BlendUpdateMethod: 1
|
||||
m_DefaultBlend:
|
||||
m_Style: 1
|
||||
m_Time: 2
|
||||
m_CustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_CustomBlends: {fileID: 0}
|
||||
m_CameraCutEvent:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_CameraActivatedEvent:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f576361f019670b4a86271169e51522a
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
21
Convention/[Visual]/[Prefabs]/TextureRenderingConfig.asset
Normal file
21
Convention/[Visual]/[Prefabs]/TextureRenderingConfig.asset
Normal file
@@ -0,0 +1,21 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ccb2112c81751444e8570e0d4f319070, type: 3}
|
||||
m_Name: TextureRenderingConfig
|
||||
m_EditorClassIdentifier:
|
||||
Datas:
|
||||
Data:
|
||||
- Key: RenderTextureScale
|
||||
Value:
|
||||
CurrentValue: 1
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: Single
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ae7d35b7aadb144086c6fd47efa1f67
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/[Prefabs]/Workflow.meta
Normal file
8
Convention/[Visual]/[Prefabs]/Workflow.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5c78f8446257154b8a7c4a38f705b5a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
33
Convention/[Visual]/[Prefabs]/Workflow/NodePrefabs.asset
Normal file
33
Convention/[Visual]/[Prefabs]/Workflow/NodePrefabs.asset
Normal file
@@ -0,0 +1,33 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c84cf04bd69b6c640a560080def4549b, type: 3}
|
||||
m_Name: NodePrefabs
|
||||
m_EditorClassIdentifier:
|
||||
uobjects:
|
||||
m_Keys:
|
||||
- ResourceNode
|
||||
- TextNode
|
||||
- ValueNode
|
||||
- StepNode
|
||||
- EndNode
|
||||
m_Values:
|
||||
- {fileID: 1131170017039480627, guid: 678fa72e5ebe5c74e8d4de1fece04c3e, type: 3}
|
||||
- {fileID: 5643479676596018674, guid: b9430ac712415504f8e090ca01cfa5e9, type: 3}
|
||||
- {fileID: 2495722784719720390, guid: 3903bd8b562bcb547acc3bdcc7d96b0f, type: 3}
|
||||
- {fileID: 7399632051589070183, guid: 4bdcb6a81d37aa14db41e036f4d87a2a, type: 3}
|
||||
- {fileID: 7767195200921155885, guid: 342367736a396c348b524e4f4ca082f0, type: 3}
|
||||
symbols:
|
||||
m_Keys: []
|
||||
m_Values: []
|
||||
values:
|
||||
m_Keys: []
|
||||
m_Values: []
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30f07b1347aae0c4288acea46ad161e8
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Convention/[Visual]/[Prefabs]/Workflow/NodePrefabs.meta
Normal file
8
Convention/[Visual]/[Prefabs]/Workflow/NodePrefabs.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 061d10eb11b595f46added694e8a18df
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 514e619b5ab383244848262d4d593a83
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 342367736a396c348b524e4f4ca082f0
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46474caf6abd8874e89505c330062e96
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d7e6ee07c22c19479e1ef65ded010aa
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,145 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &1445241544758778098
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 400
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 96971231987042496, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1978249468639702802, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_SortingLayer
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6120575357645541341, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_SortingLayer
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7388565432211838163, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7388565432714132038, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7388565432714132038, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8268118131121350037, guid: 0d7e6ee07c22c19479e1ef65ded010aa,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: StepNode
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 0d7e6ee07c22c19479e1ef65ded010aa, type: 3}
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4bdcb6a81d37aa14db41e036f4d87a2a
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc95ec054677fc74ca1a11ad8700d6a3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d11567c06fec024f925fe336d9385a1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33758f009a94512469e578396fa2ded4
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 84ae530a0aa9bb546aa239af0c361401
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3add4e75f485dfe4da39ee5334017e8f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf7376bfb3f88e645bdea9614f36f723
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,370 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &3927946213822222038
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 300
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 150
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ResourceNode
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6472081126867047221, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u8D44\u6E90\u8F93\u5165"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7163478622867287499, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -154
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: 1
|
||||
addedObject: {fileID: 5096848988533459581}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 749698482033014253}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: a59964a535cc0d045a3321772da9013a, type: 3}
|
||||
--- !u!114 &230258282793372802 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 3868826228706984532, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3927946213822222038}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 11e9ceb9d81e8074d82ec570260c56d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1131170017039480627 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3927946213822222038}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &749698482033014253
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1131170017039480627}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 24bfe76a1dd2f914c8222f30cf7e61b0, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Title: {fileID: 230258282793372802}
|
||||
SlotHeight: 40
|
||||
TitleHeight: 50
|
||||
ExtensionHeight: 100
|
||||
InSlotPropertiesWindow: {fileID: 0}
|
||||
OutSlotPropertiesWindow: {fileID: 4542635632314843280}
|
||||
InoutContainerPlane: {fileID: 6026883228401748904}
|
||||
rawTitle:
|
||||
m_info:
|
||||
nodeID: -1
|
||||
typename: Node
|
||||
title: Node
|
||||
position: {x: 0, y: 0}
|
||||
InputField: {fileID: 7483961208100647637}
|
||||
isEditing: 0
|
||||
--- !u!224 &2435143355250464387 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3927946213822222038}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &4542635632314843280 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 686923527753715270, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3927946213822222038}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5b96c24611a65c34abcfc36d83ba5e5c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &6026883228401748904 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 7287127767388489086, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3927946213822222038}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 999be728ad5e8324baf45ccaf0f9c3d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &7657949578245487162
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 2435143355250464387}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3241788777676767022, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_isRichText
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816896, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ModernUIInputField
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 96
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -50
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778010533650, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 83678c48cfed5c04fb275d819d4d7ed8,
|
||||
type: 3}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "URL\u7F51\u5740\u6216\u672C\u5730\u8D44\u6E90\u8DEF\u5F84"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_fontSize
|
||||
value: 20.8
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 37924db2d27cd6e49bf8002531a08095, type: 3}
|
||||
--- !u!224 &5096848988533459581 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 7657949578245487162}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &7483961208100647637 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 980341611743987951, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 7657949578245487162}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c20431df589b2094bb93ed965972a6c5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 678fa72e5ebe5c74e8d4de1fece04c3e
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,388 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &754899622639857653
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1211310491338266037, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u8F93\u51FA"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 300
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: SelectorNode
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6472081126867047221, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u9009\u62E9\u5668"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7163478622867287499, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -114
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: 1
|
||||
addedObject: {fileID: 6286353206513049646}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 168573679803446017}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: a59964a535cc0d045a3321772da9013a, type: 3}
|
||||
--- !u!114 &284149513295765939 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 686923527753715270, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 754899622639857653}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5b96c24611a65c34abcfc36d83ba5e5c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &2103306967071848352 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 754899622639857653}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &3695650252947543568 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 754899622639857653}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &168573679803446017
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3695650252947543568}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3f9707e651688bd4f89ece4047a68b95, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Title: {fileID: 4596246401461857697}
|
||||
SlotHeight: 40
|
||||
TitleHeight: 50
|
||||
ExtensionHeight: 60
|
||||
InSlotPropertiesWindow: {fileID: 0}
|
||||
OutSlotPropertiesWindow: {fileID: 284149513295765939}
|
||||
InoutContainerPlane: {fileID: 8023414719485700747}
|
||||
rawTitle:
|
||||
m_info:
|
||||
nodeID: -1
|
||||
typename: Node
|
||||
title: Node
|
||||
position: {x: 0, y: 0}
|
||||
DropDown: {fileID: 6286353206513049645}
|
||||
--- !u!114 &4596246401461857697 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 3868826228706984532, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 754899622639857653}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 11e9ceb9d81e8074d82ec570260c56d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &8023414719485700747 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 7287127767388489086, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 754899622639857653}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 999be728ad5e8324baf45ccaf0f9c3d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &4664251454534229907
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 2103306967071848352}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1695362349713964988, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ModernUIDropdown
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 56
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -50
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349749063375, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362349749063375, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -0.00015258789
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362350035700554, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u9009\u62E9"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362350035700554, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_fontSize
|
||||
value: 25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362350251319386, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362350251319386, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1695362351176760378, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
propertyPath: m_Value
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 33ef825efbb6df44c8427eac5f113199, type: 3}
|
||||
--- !u!114 &6286353206513049645 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 1695362349713964990, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 4664251454534229907}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d81168c7a313be441953c8dfd93e8564, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &6286353206513049646 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1695362349713964989, guid: 33ef825efbb6df44c8427eac5f113199,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 4664251454534229907}
|
||||
m_PrefabAsset: {fileID: 0}
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec623ca40d444bd4b8ae74f86fb933d5
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a59964a535cc0d045a3321772da9013a
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,444 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &1158542842925007073
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 6928873807411870786}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3241788777565864881, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -35
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777565864881, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777565864881, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 12.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777565864881, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 2.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777676767022, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_isRichText
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816896, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ModernUIInputField
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 196
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -50
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778010533651, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 2.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -32.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 2.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828104, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -13.75
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u8F93\u5165"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_fontSize
|
||||
value: 31.25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_VerticalAlignment
|
||||
value: 512
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_HorizontalAlignment
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 37924db2d27cd6e49bf8002531a08095, type: 3}
|
||||
--- !u!114 &2128275264270305294 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 980341611743987951, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1158542842925007073}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c20431df589b2094bb93ed965972a6c5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &4390689833789026470 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1158542842925007073}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &8602382968866432023
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1211310491338266037, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u8F93\u51FA(\u6587\u672C)"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 300
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 250
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: TextNode
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6472081126867047221, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u6587\u672C\u8F93\u5165"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7163478622867287499, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -254
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: 1
|
||||
addedObject: {fileID: 4390689833789026470}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 2868426037292871642}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: a59964a535cc0d045a3321772da9013a, type: 3}
|
||||
--- !u!114 &1315290389073420649 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 7287127767388489086, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8602382968866432023}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 999be728ad5e8324baf45ccaf0f9c3d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &4814657302033081923 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 3868826228706984532, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8602382968866432023}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 11e9ceb9d81e8074d82ec570260c56d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &5643479676596018674 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8602382968866432023}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &2868426037292871642
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5643479676596018674}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: eaab2d787a0d66642a89d8b957606de5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Title: {fileID: 4814657302033081923}
|
||||
SlotHeight: 40
|
||||
TitleHeight: 50
|
||||
ExtensionHeight: 200
|
||||
InSlotPropertiesWindow: {fileID: 0}
|
||||
OutSlotPropertiesWindow: {fileID: 9145048276703717969}
|
||||
InoutContainerPlane: {fileID: 1315290389073420649}
|
||||
rawTitle:
|
||||
m_info:
|
||||
nodeID: -1
|
||||
typename: Node
|
||||
title: Node
|
||||
position: {x: 0, y: 0}
|
||||
InputField: {fileID: 2128275264270305294}
|
||||
isEditing: 0
|
||||
--- !u!224 &6928873807411870786 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8602382968866432023}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &9145048276703717969 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 686923527753715270, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 8602382968866432023}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5b96c24611a65c34abcfc36d83ba5e5c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b9430ac712415504f8e090ca01cfa5e9
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,555 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &1986916193844491811
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 741212149891905783, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SortingLayer
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 300
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 200
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ValueNode
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6472081126867047221, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u6570\u503C\u8F93\u5165"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7163478622867287499, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -204
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8633163998647511832, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8633163998647511832, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: 1
|
||||
addedObject: {fileID: 6237216885776660846}
|
||||
- targetCorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: 2
|
||||
addedObject: {fileID: 8289812801174505361}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 4419422417393286657}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: a59964a535cc0d045a3321772da9013a, type: 3}
|
||||
--- !u!224 &926460041194630774 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 1678017196718921813, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1986916193844491811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &1304496395206277221 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 686923527753715270, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1986916193844491811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5b96c24611a65c34abcfc36d83ba5e5c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &2495722784719720390 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4120907347189250533, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1986916193844491811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &4419422417393286657
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2495722784719720390}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8404795928101e843ad4d836cea5c1f1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Title: {fileID: 3324260385847587959}
|
||||
SlotHeight: 40
|
||||
TitleHeight: 50
|
||||
ExtensionHeight: 150
|
||||
InSlotPropertiesWindow: {fileID: 0}
|
||||
OutSlotPropertiesWindow: {fileID: 1304496395206277221}
|
||||
InoutContainerPlane: {fileID: 9129893586366755677}
|
||||
rawTitle:
|
||||
m_info:
|
||||
nodeID: -1
|
||||
typename: Node
|
||||
title: Node
|
||||
position: {x: 0, y: 0}
|
||||
InputField: {fileID: 5939314311301365561}
|
||||
RangeBar: {fileID: 4778821278137529639}
|
||||
isEditing: 0
|
||||
--- !u!114 &3324260385847587959 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 3868826228706984532, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1986916193844491811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 11e9ceb9d81e8074d82ec570260c56d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &9129893586366755677 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 7287127767388489086, guid: a59964a535cc0d045a3321772da9013a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1986916193844491811}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 999be728ad5e8324baf45ccaf0f9c3d2, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &5463349275530794536
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 926460041194630774}
|
||||
m_Modifications:
|
||||
- target: {fileID: 684687444029842191, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: IsLockByScript
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 684687444029842191, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: currentPercent
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336193133632328, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: 0%
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336193971074288, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_FillAmount
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283205, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ModernUIFillBar
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 35
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -50
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3933771994495699456, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82, type: 3}
|
||||
--- !u!114 &4778821278137529639 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 684687444029842191, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 5463349275530794536}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8d016f728204dfb44ab4747507548d8c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &6237216885776660846 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 2116336194260283206, guid: 5ce7ebb07fd13814f8c9f3f07eb0fa82,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 5463349275530794536}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &6914838958627764182
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 926460041194630774}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3241788777565864885, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Text
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777676767022, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "0\u200B"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816896, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ModernUIInputField
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 106
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -90
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_text
|
||||
value: "\u503C"
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778569828111, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_fontSize
|
||||
value: 20.8
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3241788778710343315, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
propertyPath: m_Enabled
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 37924db2d27cd6e49bf8002531a08095, type: 3}
|
||||
--- !u!114 &5939314311301365561 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 980341611743987951, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 6914838958627764182}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c20431df589b2094bb93ed965972a6c5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!224 &8289812801174505361 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 3241788777981816903, guid: 37924db2d27cd6e49bf8002531a08095,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 6914838958627764182}
|
||||
m_PrefabAsset: {fileID: 0}
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3903bd8b562bcb547acc3bdcc7d96b0f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 662e21aaf88ebf4409c138f700ab7585
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
66
Convention/[Visual]/[Prefabs]/Workflow/Transformer.asset
Normal file
66
Convention/[Visual]/[Prefabs]/Workflow/Transformer.asset
Normal file
@@ -0,0 +1,66 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c84cf04bd69b6c640a560080def4549b, type: 3}
|
||||
m_Name: Transformer
|
||||
m_EditorClassIdentifier:
|
||||
Datas:
|
||||
Data:
|
||||
- Key: TextNode
|
||||
Value:
|
||||
CurrentValue: "\u6587\u672C\u8282\u70B9"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: ValueNode
|
||||
Value:
|
||||
CurrentValue: "\u6570\u503C\u8282\u70B9"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: ResourceNode
|
||||
Value:
|
||||
CurrentValue: "\u8D44\u6E90\u8282\u70B9"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: StepNode
|
||||
Value:
|
||||
CurrentValue: "\u64CD\u4F5C\u8282\u70B9"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: EndNode
|
||||
Value:
|
||||
CurrentValue: "\u7ED3\u675F\u8282\u70B9"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: Text
|
||||
Value:
|
||||
CurrentValue: "\u6587\u672C"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: value
|
||||
Value:
|
||||
CurrentValue: "\u503C"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: SlotName
|
||||
Value:
|
||||
CurrentValue: "\u69FD\u7684\u540D\u79F0"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: Delete
|
||||
Value:
|
||||
CurrentValue: "\u5220\u9664"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
||||
- Key: Create New Slot
|
||||
Value:
|
||||
CurrentValue: "\u521B\u5EFA\u65B0\u7684\u69FD"
|
||||
CurrentObject: {fileID: 0}
|
||||
RealType: String
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06b127d4e769f714db8a80d09253087a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
10217
Convention/[Visual]/[Prefabs]/Workflow/WorkflowGraph.prefab
Normal file
10217
Convention/[Visual]/[Prefabs]/Workflow/WorkflowGraph.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d166fec77633b24d9cfb51442a77dfd
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user