diff --git a/DefaultProject/DefaultProject.asset b/DefaultProject/DefaultProject.asset
index f6c5c5ec..82888190 100644
--- a/DefaultProject/DefaultProject.asset
+++ b/DefaultProject/DefaultProject.asset
@@ -17,9 +17,11 @@ MonoBehaviour:
- {fileID: 11400000, guid: 9b99d76b166e6624396bcea5a92e1bb6, type: 2}
- {fileID: 11400000, guid: 00ff4f68c9cfe334dbfd68bd08abaf79, type: 2}
- {fileID: 11400000, guid: 9b4aa3018ad9a1b46ab8a5508d3723bf, type: 2}
- - {fileID: 11400000, guid: ab97cadb355a9674a800485eaba4a470, type: 2}
_projectNamespace: uFrame.DefaultProject
_currentTabs:
- _graphIdentifier: a0009eb1-7b60-4ef2-80cb-0bf2f4f2bd63
_graphName: GameSystem
_path: []
+ - _graphIdentifier: 0999f5c3-e70f-4e6b-bb6e-75bb39f8b16d
+ _graphName: uFrameStarter
+ _path: []
diff --git a/DefaultProject/GameSystem.asset b/DefaultProject/GameSystem.asset
index 686f289b..3fb6dfcb 100644
--- a/DefaultProject/GameSystem.asset
+++ b/DefaultProject/GameSystem.asset
@@ -14,7 +14,7 @@ MonoBehaviour:
_jsonData: '{"Name":"GameSystem", "Version":"1.501", "Identifier":"a0009eb1-7b60-4ef2-80cb-0bf2f4f2bd63",
"Type":"Invert.uFrame.MVVM.SubsystemGraph", "DocumentationMode":"false", "RootNode":{"_CLRType":"Invert.uFrame.MVVM.SubsystemNode,
Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
- "Name":"GameSystem", "IsCollapsed":"false", "Identifier":"eb64a2e9-c071-49b7-9ddb-bf1992faa690",
+ "Name":"GameSystem", "IsCollapsed":"true", "Identifier":"eb64a2e9-c071-49b7-9ddb-bf1992faa690",
"Items":[ {"_CLRType":"Invert.uFrame.MVVM.InstancesReference, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"", "Identifier":"7b1dda30-3217-4e68-aff8-3452377229e4",
"Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
@@ -33,9 +33,11 @@ MonoBehaviour:
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
"3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
"f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
- "43ef0e91-5327-408a-975f-10eb31681b84":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "IsNewNode":"false"}, "Nodes":[ {"_CLRType":"Invert.uFrame.MVVM.ServiceNode, Assembly-CSharp-Editor,
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "6f503222-b654-46f1-bcf6-b82f0dfab2d2":"false",
+ "dae0181e-8ea7-4ccb-b5de-44108aa622e1":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
+ "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
+ Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
+ "Nodes":[ {"_CLRType":"Invert.uFrame.MVVM.ServiceNode, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"GameService",
"IsCollapsed":"false", "Identifier":"53b81896-54b6-4a17-88f0-5dc5269f16d2", "Items":[
{"_CLRType":"Invert.uFrame.MVVM.HandlersReference, Assembly-CSharp-Editor, Version=0.0.0.0,
@@ -60,15 +62,16 @@ MonoBehaviour:
"77bf8f91-4379-4193-8d8e-75667eea0867":"false", "c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false",
"d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false", "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false",
"977cb470-4686-4006-bc16-462491cae37e":"false", "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false",
- "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false", "43ef0e91-5327-408a-975f-10eb31681b84":"false"},
- "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
- Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
- {"_CLRType":"Invert.uFrame.MVVM.ElementNode, Assembly-CSharp-Editor, Version=0.0.0.0,
- Culture=neutral, PublicKeyToken=null", "Name":"LoadingScreen", "IsCollapsed":"false",
- "Identifier":"694a4b0b-241e-4797-848b-5ad28d5c820e", "Items":[ {"_CLRType":"Invert.uFrame.MVVM.PropertiesChildItem,
- Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
- "Name":"Progress", "Identifier":"7faf0d23-c56f-4d6d-9adc-4c0a52bfefd1", "Precompiled":"false",
- "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false", "43ef0e91-5327-408a-975f-10eb31681b84":"false",
+ "6f503222-b654-46f1-bcf6-b82f0dfab2d2":"false", "dae0181e-8ea7-4ccb-b5de-44108aa622e1":"false",
+ "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
+ "IsNewNode":"false"}, {"_CLRType":"Invert.uFrame.MVVM.ElementNode, Assembly-CSharp-Editor,
+ Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"LoadingScreen",
+ "IsCollapsed":"false", "Identifier":"694a4b0b-241e-4797-848b-5ad28d5c820e", "Items":[
+ {"_CLRType":"Invert.uFrame.MVVM.PropertiesChildItem, Assembly-CSharp-Editor, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null", "Name":"Progress", "Identifier":"7faf0d23-c56f-4d6d-9adc-4c0a52bfefd1",
+ "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"ItemType":"Single"}, {"_CLRType":"Invert.uFrame.MVVM.PropertiesChildItem, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"Message", "Identifier":"6da09090-7121-4cc1-bb5c-86c1b69578e0",
@@ -78,15 +81,7 @@ MonoBehaviour:
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"Active", "Identifier":"63079fd4-206a-4de7-83bb-35b38129071a",
"Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "ItemType":"Boolean"}, {"_CLRType":"Invert.uFrame.MVVM.CollectionsChildItem, Assembly-CSharp-Editor,
- Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"fdsasdf", "Identifier":"6f503222-b654-46f1-bcf6-b82f0dfab2d2",
- "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "ItemType":""}, {"_CLRType":"Invert.uFrame.MVVM.CommandsChildItem, Assembly-CSharp-Editor,
- Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"fddd", "Identifier":"dae0181e-8ea7-4ccb-b5de-44108aa622e1",
- "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "ItemType":""} ], "CollapsedValues":{"727fb927-af5d-4f64-8cab-fa757222a7f8":"false",
+ "ItemType":"Boolean"} ], "CollapsedValues":{"727fb927-af5d-4f64-8cab-fa757222a7f8":"false",
"5df11e5b-235b-4011-ad01-2322c69eddd2":"false", "38781701-8b4d-480a-932e-953fecb2bc25":"false",
"2d5b57f5-f3c5-4b8e-a9fa-2adc3432ca71":"false", "78cd50e6-e0ce-4ead-aa92-6cc0c4261db1":"false",
"5c87b6f9-b488-495c-9e31-011b18000cba":"false", "7451c5f1-9202-41ac-b077-16398cd663dd":"false",
@@ -100,14 +95,16 @@ MonoBehaviour:
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
"3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
"f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
- "43ef0e91-5327-408a-975f-10eb31681b84":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "IsNewNode":"false"}, {"_CLRType":"Invert.uFrame.MVVM.ViewNode, Assembly-CSharp-Editor,
- Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"LoadingScreenView",
- "IsCollapsed":"false", "Identifier":"5df11e5b-235b-4011-ad01-2322c69eddd2", "Items":[
- {"_CLRType":"Invert.uFrame.MVVM.BindingsReference, Assembly-CSharp-Editor, Version=0.0.0.0,
- Culture=neutral, PublicKeyToken=null", "Name":"MessageToText", "Identifier":"4ba00982-aac6-475d-ac2a-676b3967232e",
- "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "6f503222-b654-46f1-bcf6-b82f0dfab2d2":"false",
+ "dae0181e-8ea7-4ccb-b5de-44108aa622e1":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
+ "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
+ Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
+ {"_CLRType":"Invert.uFrame.MVVM.ViewNode, Assembly-CSharp-Editor, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null", "Name":"LoadingScreenView", "IsCollapsed":"false",
+ "Identifier":"5df11e5b-235b-4011-ad01-2322c69eddd2", "Items":[ {"_CLRType":"Invert.uFrame.MVVM.BindingsReference,
+ Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
+ "Name":"MessageToText", "Identifier":"4ba00982-aac6-475d-ac2a-676b3967232e", "Precompiled":"false",
+ "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"BindingName":"BindTextToProperty", "SourceIdentifier":"6da09090-7121-4cc1-bb5c-86c1b69578e0"},
{"_CLRType":"Invert.uFrame.MVVM.BindingsReference, Assembly-CSharp-Editor, Version=0.0.0.0,
@@ -125,48 +122,52 @@ MonoBehaviour:
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
"3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
"f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
- "43ef0e91-5327-408a-975f-10eb31681b84":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "ScenePropertiesInputSlot":{"_CLRType":"Invert.uFrame.MVVM.SceneProperties, Assembly-CSharp-Editor,
- Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"SceneProperties",
- "Identifier":"17f8f2b5-72bc-46d8-8f67-7f3ba4bb477c", "Precompiled":"false", "Flags":{"_CLRType":"true"},
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "6f503222-b654-46f1-bcf6-b82f0dfab2d2":"false",
+ "dae0181e-8ea7-4ccb-b5de-44108aa622e1":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
"DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
- Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}}, "ElementInputSlot":{"_CLRType":"Invert.uFrame.MVVM.Element,
+ Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "ScenePropertiesInputSlot":{"_CLRType":"Invert.uFrame.MVVM.SceneProperties,
Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
- "Name":"Element", "Identifier":"f8c3390e-5637-4503-81d8-67ad8aefd9d7", "Precompiled":"false",
- "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "Name":"SceneProperties", "Identifier":"17f8f2b5-72bc-46d8-8f67-7f3ba4bb477c",
+ "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}},
+ "ElementInputSlot":{"_CLRType":"Invert.uFrame.MVVM.Element, Assembly-CSharp-Editor,
+ Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"Element", "Identifier":"f8c3390e-5637-4503-81d8-67ad8aefd9d7",
+ "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}},
"IsNewNode":"false"}, {"_CLRType":"Invert.uFrame.MVVM.SimpleClassNode, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"BeginGameCommand",
- "IsCollapsed":"false", "Identifier":"03317d58-0095-406e-a859-b4fbe99b63e0", "Items":[ ],
- "CollapsedValues":{}, "Flags":{"_CLRType":"true", "77bf8f91-4379-4193-8d8e-75667eea0867":"false",
+ "IsCollapsed":"false", "Identifier":"03317d58-0095-406e-a859-b4fbe99b63e0", "Items":[
+ {"_CLRType":"Invert.uFrame.MVVM.PropertiesChildItem, Assembly-CSharp-Editor, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null", "Name":"Properties", "Identifier":"aebd51eb-48a0-4d3c-9372-3b0b7353e480",
+ "Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
+ "ItemType":""} ], "CollapsedValues":{}, "Flags":{"_CLRType":"true", "77bf8f91-4379-4193-8d8e-75667eea0867":"false",
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
"3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
"f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
- "43ef0e91-5327-408a-975f-10eb31681b84":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "IsNewNode":"true"} ], "ConnectedItems":[ {"_CLRType":"ConnectionData, Invert.Core.GraphDesigner,
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "6f503222-b654-46f1-bcf6-b82f0dfab2d2":"false",
+ "dae0181e-8ea7-4ccb-b5de-44108aa622e1":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
+ "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
+ Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"}
+ ], "ConnectedItems":[ {"_CLRType":"ConnectionData, Invert.Core.GraphDesigner,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null", "OutputIdentifier":"694a4b0b-241e-4797-848b-5ad28d5c820e",
"InputIdentifier":"f8c3390e-5637-4503-81d8-67ad8aefd9d7"} ], "PositionData":{"_CLRType":"FilterPositionData,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
"eb64a2e9-c071-49b7-9ddb-bf1992faa690":{"eb64a2e9-c071-49b7-9ddb-bf1992faa690":{"x":"100",
"y":"50"}, "53b81896-54b6-4a17-88f0-5dc5269f16d2":{"x":"100", "y":"250"}, "694a4b0b-241e-4797-848b-5ad28d5c820e":{"x":"540",
- "y":"140"}, "03317d58-0095-406e-a859-b4fbe99b63e0":{"x":"300", "y":"250"}}, "53b81896-54b6-4a17-88f0-5dc5269f16d2":{"53b81896-54b6-4a17-88f0-5dc5269f16d2":{"x":"90",
+ "y":"140"}, "03317d58-0095-406e-a859-b4fbe99b63e0":{"x":"300", "y":"260"}}, "53b81896-54b6-4a17-88f0-5dc5269f16d2":{"53b81896-54b6-4a17-88f0-5dc5269f16d2":{"x":"90",
"y":"230"}}, "694a4b0b-241e-4797-848b-5ad28d5c820e":{"694a4b0b-241e-4797-848b-5ad28d5c820e":{"x":"140",
"y":"140"}, "5df11e5b-235b-4011-ad01-2322c69eddd2":{"x":"430", "y":"200"}}}, "FilterState":{"_CLRType":"FilterState,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
- "FilterStack":[ "694a4b0b-241e-4797-848b-5ad28d5c820e" ]}, "Settings":{"_CLRType":"ElementDiagramSettings,
+ "FilterStack":[ ]}, "Settings":{"_CLRType":"ElementDiagramSettings, Invert.Core.GraphDesigner,
+ Version=1.1.0.0, Culture=neutral, PublicKeyToken=null", "CodeGenDisabled":"false",
+ "SnapSize":"10", "Snap":"true", "CodePathStrategyName":"Default", "GridLinesColor":{"r":"0.271",
+ "g":"0.271", "b":"0.271", "a":"1"}, "GridLinesColorSecondary":{"r":"0.169", "g":"0.169",
+ "b":"0.169", "a":"1"}, "AssociationLinkColor":{"r":"1", "g":"1", "b":"1", "a":"1"},
+ "DefinitionLinkColor":{"r":"0", "g":"1", "b":"1", "a":"1"}, "InheritanceLinkColor":{"r":"0",
+ "g":"1", "b":"0", "a":"1"}, "SceneManagerLinkColor":{"r":"0.5", "g":"0.5", "b":"0.5",
+ "a":"1"}, "SubSystemLinkColor":{"r":"0.5", "g":"0.5", "b":"0.5", "a":"1"}, "TransitionLinkColor":{"r":"1",
+ "g":"0.9215686", "b":"0.01568628", "a":"1"}, "ViewLinkColor":{"r":"0", "g":"0",
+ "b":"1", "a":"1"}, "RootNamespace":""}, "Changes":[ {"_CLRType":"Invert.Core.GraphDesigner.GraphItemAdded,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
- "CodeGenDisabled":"false", "SnapSize":"10", "Snap":"true", "CodePathStrategyName":"Default",
- "GridLinesColor":{"r":"0.271", "g":"0.271", "b":"0.271", "a":"1"}, "GridLinesColorSecondary":{"r":"0.169",
- "g":"0.169", "b":"0.169", "a":"1"}, "AssociationLinkColor":{"r":"1", "g":"1",
- "b":"1", "a":"1"}, "DefinitionLinkColor":{"r":"0", "g":"1", "b":"1", "a":"1"},
- "InheritanceLinkColor":{"r":"0", "g":"1", "b":"0", "a":"1"}, "SceneManagerLinkColor":{"r":"0.5",
- "g":"0.5", "b":"0.5", "a":"1"}, "SubSystemLinkColor":{"r":"0.5", "g":"0.5", "b":"0.5",
- "a":"1"}, "TransitionLinkColor":{"r":"1", "g":"0.9215686", "b":"0.01568628", "a":"1"},
- "ViewLinkColor":{"r":"0", "g":"0", "b":"1", "a":"1"}, "RootNamespace":""}, "Changes":[
- {"_CLRType":"Invert.Core.GraphDesigner.GraphItemAdded, Invert.Core.GraphDesigner,
- Version=1.1.0.0, Culture=neutral, PublicKeyToken=null", "ItemIdentifier":"6f503222-b654-46f1-bcf6-b82f0dfab2d2"},
- {"_CLRType":"Invert.Core.GraphDesigner.GraphItemAdded, Invert.Core.GraphDesigner,
- Version=1.1.0.0, Culture=neutral, PublicKeyToken=null", "ItemIdentifier":"dae0181e-8ea7-4ccb-b5de-44108aa622e1"}
- ]}'
+ "ItemIdentifier":"aebd51eb-48a0-4d3c-9372-3b0b7353e480"} ]}'
diff --git a/DefaultProject/GameSystem/Commands.designer.cs b/DefaultProject/GameSystem/Commands.designer.cs
new file mode 100644
index 00000000..c89a4d9a
--- /dev/null
+++ b/DefaultProject/GameSystem/Commands.designer.cs
@@ -0,0 +1,22 @@
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Mono Runtime Version: 2.0.50727.1433
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
+
+using uFrame.MVVM;
+
+namespace uFrame.DefaultProject {
+ using System;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+
+ public partial class fdddCommand : ViewModelCommand {
+ }
+}
diff --git a/Editor/Templates/SceneManagerTemplate.cs.meta b/DefaultProject/GameSystem/Commands.designer.cs.meta
similarity index 53%
rename from Editor/Templates/SceneManagerTemplate.cs.meta
rename to DefaultProject/GameSystem/Commands.designer.cs.meta
index f2cc681f..3d484a9a 100644
--- a/Editor/Templates/SceneManagerTemplate.cs.meta
+++ b/DefaultProject/GameSystem/Commands.designer.cs.meta
@@ -1,8 +1,12 @@
fileFormatVersion: 2
-guid: 390e6123cf504ed41abd0fca84d849e2
+guid: daecbbb69a78eae45a56a923499d78f7
+timeCreated: 1433010056
+licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/DefaultProject/GameSystem/Controllers.designer.cs b/DefaultProject/GameSystem/Controllers.designer.cs
index 8033acde..e68d9c11 100644
--- a/DefaultProject/GameSystem/Controllers.designer.cs
+++ b/DefaultProject/GameSystem/Controllers.designer.cs
@@ -8,6 +8,9 @@
//
// ------------------------------------------------------------------------------
+using uFrame.IOC;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
@@ -20,7 +23,9 @@ public class LoadingScreenControllerBase : Controller {
private IViewModelManager _LoadingScreenViewModelManager;
- [InjectAttribute("LoadingScreen")]
+ private LoadingScreenViewModel _LoadingScreen;
+
+ [Inject("LoadingScreen")]
public IViewModelManager LoadingScreenViewModelManager {
get {
return _LoadingScreenViewModelManager;
@@ -30,7 +35,17 @@ public IViewModelManager LoadingScreenViewModelManager {
}
}
- public System.Collections.Generic.IEnumerable LoadingScreenViewModels {
+ [InjectAttribute("LoadingScreen")]
+ public LoadingScreenViewModel LoadingScreen {
+ get {
+ return _LoadingScreen;
+ }
+ set {
+ _LoadingScreen = value;
+ }
+ }
+
+ public IEnumerable LoadingScreenViewModels {
get {
return LoadingScreenViewModelManager.OfType();
}
diff --git a/DefaultProject/GameSystem/Services.designer.cs b/DefaultProject/GameSystem/Services.designer.cs
index 9e65d0e3..39fa3898 100644
--- a/DefaultProject/GameSystem/Services.designer.cs
+++ b/DefaultProject/GameSystem/Services.designer.cs
@@ -8,6 +8,8 @@
//
// ------------------------------------------------------------------------------
+using uFrame.Kernel;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/GameSystem/Services/GameService.cs b/DefaultProject/GameSystem/Services/GameService.cs
index f6013098..0d290a98 100644
--- a/DefaultProject/GameSystem/Services/GameService.cs
+++ b/DefaultProject/GameSystem/Services/GameService.cs
@@ -1,3 +1,6 @@
+using uFrame.IOC;
+using uFrame.Kernel;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/GameSystem/SystemLoaders.designer.cs b/DefaultProject/GameSystem/SystemLoaders.designer.cs
index 7763f85d..867c2a0a 100644
--- a/DefaultProject/GameSystem/SystemLoaders.designer.cs
+++ b/DefaultProject/GameSystem/SystemLoaders.designer.cs
@@ -8,6 +8,10 @@
//
// ------------------------------------------------------------------------------
+using uFrame.IOC;
+using uFrame.Kernel;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
@@ -22,11 +26,11 @@ public class GameSystemLoaderBase : SystemLoader {
private LoadingScreenController _LoadingScreenController;
- [InjectAttribute("LoadingScreen")]
+ [Inject("LoadingScreen")]
public virtual LoadingScreenViewModel LoadingScreen {
get {
if (this._LoadingScreen == null) {
- this._LoadingScreen = this.CreateInstanceViewModel( "LoadingScreen");
+ this._LoadingScreen = this.CreateViewModel( "LoadingScreen");
}
return _LoadingScreen;
}
@@ -52,6 +56,5 @@ public override void Load() {
Container.RegisterController(LoadingScreenController);
Container.RegisterViewModel(LoadingScreen, "LoadingScreen");
}
-
}
}
diff --git a/DefaultProject/GameSystem/ViewModels.designer.cs b/DefaultProject/GameSystem/ViewModels.designer.cs
index 4d2164d6..aeb9cdf4 100644
--- a/DefaultProject/GameSystem/ViewModels.designer.cs
+++ b/DefaultProject/GameSystem/ViewModels.designer.cs
@@ -8,6 +8,9 @@
//
// ------------------------------------------------------------------------------
+using uFrame.Kernel;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/GameSystem/Views.designer.cs b/DefaultProject/GameSystem/Views.designer.cs
index 43e8387a..88ad38ae 100644
--- a/DefaultProject/GameSystem/Views.designer.cs
+++ b/DefaultProject/GameSystem/Views.designer.cs
@@ -8,108 +8,95 @@
//
// ------------------------------------------------------------------------------
-namespace uFrame.DefaultProject {
+using uFrame.MVVM;
+using uFrame.MVVM.Bindings;
+
+namespace uFrame.DefaultProject
+{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UniRx;
using UnityEngine;
-
-
- public class LoadingScreenViewBase : ViewBase {
-
- [UnityEngine.SerializeField()]
- [UFGroup("View Model Properties")]
- [UnityEngine.HideInInspector()]
- public Single _Progress;
-
- [UnityEngine.SerializeField()]
- [UFGroup("View Model Properties")]
- [UnityEngine.HideInInspector()]
- public String _Message;
-
- [UnityEngine.SerializeField()]
- [UFGroup("View Model Properties")]
- [UnityEngine.HideInInspector()]
- public Boolean _Active;
-
- [UFToggleGroup("Message")]
- [UnityEngine.HideInInspector()]
- public bool _BindMessage = true;
-
- [UFGroup("Message")]
- [UnityEngine.SerializeField()]
- [UnityEngine.HideInInspector()]
- [UnityEngine.Serialization.FormerlySerializedAsAttribute("_Messageinput")]
- protected UnityEngine.UI.Text _MessageInput;
-
- [UFToggleGroup("Progress")]
- [UnityEngine.HideInInspector()]
- public bool _BindProgress = true;
-
- [UFGroup("Progress")]
- [UnityEngine.SerializeField()]
- [UnityEngine.HideInInspector()]
- [UnityEngine.Serialization.FormerlySerializedAsAttribute("_Progressslider")]
- protected UnityEngine.UI.Slider _ProgressSlider;
-
- [UFToggleGroup("Active")]
- [UnityEngine.HideInInspector()]
- public bool _BindActive = true;
-
- [UFGroup("Active")]
- [UnityEngine.SerializeField()]
- [UnityEngine.HideInInspector()]
- [UnityEngine.Serialization.FormerlySerializedAsAttribute("_ActiveonlyWhenChanged")]
- protected bool _ActiveOnlyWhenChanged;
-
- public override string DefaultIdentifier {
- get {
- return "LoadingScreen";
+
+ public class LoadingScreenViewBase : ViewBase
+ {
+
+ [UnityEngine.SerializeField()] [UFGroup("View Model Properties")] [UnityEngine.HideInInspector()] public
+ Single _Progress;
+
+ [UnityEngine.SerializeField()] [UFGroup("View Model Properties")] [UnityEngine.HideInInspector()] public
+ String _Message;
+
+ [UnityEngine.SerializeField()] [UFGroup("View Model Properties")] [UnityEngine.HideInInspector()] public
+ Boolean _Active;
+
+ [UFToggleGroup("Message")] [UnityEngine.HideInInspector()] public bool _BindMessage = true;
+
+ [UFGroup("Message")] [UnityEngine.SerializeField()] [UnityEngine.HideInInspector()] [UnityEngine.Serialization.FormerlySerializedAsAttribute("_Messageinput")] protected UnityEngine.UI.Text
+ _MessageInput;
+
+ [UFToggleGroup("Progress")] [UnityEngine.HideInInspector()] public bool _BindProgress = true;
+
+ [UFGroup("Progress")] [UnityEngine.SerializeField()] [UnityEngine.HideInInspector()] [UnityEngine.Serialization.FormerlySerializedAsAttribute("_Progressslider")] protected UnityEngine.UI.Slider
+ _ProgressSlider;
+
+ [UFToggleGroup("Active")] [UnityEngine.HideInInspector()] public bool _BindActive = true;
+
+ [UFGroup("Active")] [UnityEngine.SerializeField()] [UnityEngine.HideInInspector()] [UnityEngine.Serialization.FormerlySerializedAsAttribute("_ActiveonlyWhenChanged")] protected bool
+ _ActiveOnlyWhenChanged;
+
+ public override string DefaultIdentifier
+ {
+ get { return "LoadingScreen"; }
}
- }
-
- public override System.Type ViewModelType {
- get {
- return typeof(LoadingScreenViewModel);
+
+ public override System.Type ViewModelType
+ {
+ get { return typeof (LoadingScreenViewModel); }
}
- }
-
- public LoadingScreenViewModel LoadingScreen {
- get {
- return (LoadingScreenViewModel)ViewModelObject;
+
+ public LoadingScreenViewModel LoadingScreen
+ {
+ get { return (LoadingScreenViewModel) ViewModelObject; }
}
- }
-
- protected override void InitializeViewModel(ViewModel model) {
- base.InitializeViewModel(model);
- // NOTE: this method is only invoked if the 'Initialize ViewModel' is checked in the inspector.
- // var vm = model as LoadingScreenViewModel;
- // This method is invoked when applying the data from the inspector to the viewmodel. Add any view-specific customizations here.
- var loadingscreenview = ((LoadingScreenViewModel)model);
- loadingscreenview.Progress = this._Progress;
- loadingscreenview.Message = this._Message;
- loadingscreenview.Active = this._Active;
- }
-
- public override void Bind() {
- base.Bind();
- // Use this.LoadingScreen to access the viewmodel.
- // Use this method to subscribe to the view-model.
- // Any designer bindings are created in the base implementation.
- if (_BindMessage) {
- this.BindTextToProperty(_MessageInput, this.LoadingScreen.MessageProperty);
+
+ protected override void InitializeViewModel(ViewModel model)
+ {
+ base.InitializeViewModel(model);
+ // NOTE: this method is only invoked if the 'Initialize ViewModel' is checked in the inspector.
+ // var vm = model as LoadingScreenViewModel;
+ // This method is invoked when applying the data from the inspector to the viewmodel. Add any view-specific customizations here.
+ var loadingscreenview = ((LoadingScreenViewModel) model);
+ loadingscreenview.Progress = this._Progress;
+ loadingscreenview.Message = this._Message;
+ loadingscreenview.Active = this._Active;
}
- if (_BindProgress) {
- this.BindSliderToProperty(_ProgressSlider, this.LoadingScreen.ProgressProperty);
+
+ public override void Bind()
+ {
+ base.Bind();
+ // Use this.LoadingScreen to access the viewmodel.
+ // Use this method to subscribe to the view-model.
+ // Any designer bindings are created in the base implementation.
+ if (_BindMessage)
+ {
+ this.BindTextToProperty(_MessageInput, this.LoadingScreen.MessageProperty);
+ }
+ if (_BindProgress)
+ {
+ this.BindSliderToProperty(_ProgressSlider, this.LoadingScreen.ProgressProperty);
+ }
+ if (_BindActive)
+ {
+ this.BindProperty(this.LoadingScreen.ActiveProperty, this.ActiveChanged, _ActiveOnlyWhenChanged);
+ }
}
- if (_BindActive) {
- this.BindProperty(this.LoadingScreen.ActiveProperty, this.ActiveChanged, _ActiveOnlyWhenChanged);
+
+ public virtual void ActiveChanged(Boolean arg1)
+ {
}
}
-
- public virtual void ActiveChanged(Boolean arg1) {
- }
- }
-}
+
+}
\ No newline at end of file
diff --git a/DefaultProject/GameSystem/Views/LoadingScreenView.cs b/DefaultProject/GameSystem/Views/LoadingScreenView.cs
index 950a4f94..335c9d43 100644
--- a/DefaultProject/GameSystem/Views/LoadingScreenView.cs
+++ b/DefaultProject/GameSystem/Views/LoadingScreenView.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject
{
using System;
diff --git a/DefaultProject/MainMenuSystem/Commands.designer.cs b/DefaultProject/MainMenuSystem/Commands.designer.cs
index 0163b09c..fec06fb0 100644
--- a/DefaultProject/MainMenuSystem/Commands.designer.cs
+++ b/DefaultProject/MainMenuSystem/Commands.designer.cs
@@ -8,6 +8,8 @@
//
// ------------------------------------------------------------------------------
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/MainMenuSystem/Controllers.designer.cs b/DefaultProject/MainMenuSystem/Controllers.designer.cs
index 95cf8d52..d79acef7 100644
--- a/DefaultProject/MainMenuSystem/Controllers.designer.cs
+++ b/DefaultProject/MainMenuSystem/Controllers.designer.cs
@@ -8,6 +8,9 @@
//
// ------------------------------------------------------------------------------
+using uFrame.IOC;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
@@ -22,7 +25,7 @@ public class MainMenuScreenControllerBase : Controller {
private MainMenuScreenViewModel _MainMenuScreen;
- [InjectAttribute("MainMenuScreen")]
+ [Inject("MainMenuScreen")]
public IViewModelManager MainMenuScreenViewModelManager {
get {
return _MainMenuScreenViewModelManager;
@@ -42,7 +45,7 @@ public MainMenuScreenViewModel MainMenuScreen {
}
}
- public System.Collections.Generic.IEnumerable MainMenuScreenViewModels {
+ public IEnumerable MainMenuScreenViewModels {
get {
return MainMenuScreenViewModelManager.OfType();
}
diff --git a/DefaultProject/MainMenuSystem/SystemLoaders.designer.cs b/DefaultProject/MainMenuSystem/SystemLoaders.designer.cs
index fb081456..49539521 100644
--- a/DefaultProject/MainMenuSystem/SystemLoaders.designer.cs
+++ b/DefaultProject/MainMenuSystem/SystemLoaders.designer.cs
@@ -8,6 +8,10 @@
//
// ------------------------------------------------------------------------------
+using uFrame.IOC;
+using uFrame.Kernel;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
@@ -22,11 +26,11 @@ public class MainMenuSystemLoaderBase : SystemLoader {
private MainMenuScreenController _MainMenuScreenController;
- [InjectAttribute("MainMenuScreen")]
+ [Inject("MainMenuScreen")]
public virtual MainMenuScreenViewModel MainMenuScreen {
get {
if (this._MainMenuScreen == null) {
- this._MainMenuScreen = CreateInstanceViewModel( "MainMenuScreen");
+ this._MainMenuScreen = this.CreateViewModel( "MainMenuScreen");
}
return _MainMenuScreen;
}
diff --git a/DefaultProject/MainMenuSystem/ViewModels.designer.cs b/DefaultProject/MainMenuSystem/ViewModels.designer.cs
index 02aec568..77483c9f 100644
--- a/DefaultProject/MainMenuSystem/ViewModels.designer.cs
+++ b/DefaultProject/MainMenuSystem/ViewModels.designer.cs
@@ -8,6 +8,9 @@
//
// ------------------------------------------------------------------------------
+using uFrame.Kernel;
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/MainMenuSystem/Views.designer.cs b/DefaultProject/MainMenuSystem/Views.designer.cs
index 1aec7330..e54697b9 100644
--- a/DefaultProject/MainMenuSystem/Views.designer.cs
+++ b/DefaultProject/MainMenuSystem/Views.designer.cs
@@ -8,6 +8,9 @@
//
// ------------------------------------------------------------------------------
+using uFrame.MVVM;
+using uFrame.MVVM.Bindings;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/MainMenuSystem/Views/MainMenuScreenView.cs b/DefaultProject/MainMenuSystem/Views/MainMenuScreenView.cs
index 8e33b19d..25860b06 100644
--- a/DefaultProject/MainMenuSystem/Views/MainMenuScreenView.cs
+++ b/DefaultProject/MainMenuSystem/Views/MainMenuScreenView.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/NewUnityGraphData 1.asset b/DefaultProject/NewUnityGraphData 1.asset
deleted file mode 100644
index 03dc396c..00000000
--- a/DefaultProject/NewUnityGraphData 1.asset
+++ /dev/null
@@ -1,33 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!114 &11400000
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 0}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: -1328937199, guid: 019118f6de8965947b2d943bbe59c84b, type: 3}
- m_Name: NewUnityGraphData 1
- m_EditorClassIdentifier:
- _jsonData: '{"Name":"NewUnityGraphData 1", "Version":"1.501", "Identifier":"ff92cba9-7f72-49db-a0f9-bc29f2472a30",
- "Type":"Invert.uFrame.MVVM.SubsystemGraph", "DocumentationMode":"false", "RootNode":{"_CLRType":"Invert.uFrame.MVVM.SubsystemNode,
- Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
- "Name":"", "IsCollapsed":"false", "Identifier":"", "Items":[ ], "CollapsedValues":{},
- "Flags":{"_CLRType":"Invert.Core.GraphDesigner.FlagsDictionary, Invert.Core.GraphDesigner,
- Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "IsNewNode":"true"}, "Nodes":[ ], "ConnectedItems":[ ], "PositionData":{"_CLRType":"FilterPositionData,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "FilterState":{"_CLRType":"FilterState, Invert.Core.GraphDesigner, Version=1.1.0.0,
- Culture=neutral, PublicKeyToken=null", "FilterStack":[ ]}, "Settings":{"_CLRType":"ElementDiagramSettings,
- Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
- "CodeGenDisabled":"false", "SnapSize":"10", "Snap":"true", "CodePathStrategyName":"Default",
- "GridLinesColor":{"r":"0.271", "g":"0.271", "b":"0.271", "a":"1"}, "GridLinesColorSecondary":{"r":"0.169",
- "g":"0.169", "b":"0.169", "a":"1"}, "AssociationLinkColor":{"r":"1", "g":"1",
- "b":"1", "a":"1"}, "DefinitionLinkColor":{"r":"0", "g":"1", "b":"1", "a":"1"},
- "InheritanceLinkColor":{"r":"0", "g":"1", "b":"0", "a":"1"}, "SceneManagerLinkColor":{"r":"0.5",
- "g":"0.5", "b":"0.5", "a":"1"}, "SubSystemLinkColor":{"r":"0.5", "g":"0.5", "b":"0.5",
- "a":"1"}, "TransitionLinkColor":{"r":"1", "g":"0.9215686", "b":"0.01568628", "a":"1"},
- "ViewLinkColor":{"r":"0", "g":"0", "b":"1", "a":"1"}, "RootNamespace":""}, "Changes":[ ]}'
diff --git a/DefaultProject/NewUnityGraphData 1.asset.meta b/DefaultProject/NewUnityGraphData 1.asset.meta
deleted file mode 100644
index 658bf6d4..00000000
--- a/DefaultProject/NewUnityGraphData 1.asset.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ab97cadb355a9674a800485eaba4a470
-timeCreated: 1432970381
-licenseType: Pro
-NativeFormatImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/DefaultProject/NewUnityGraphData 1.meta b/DefaultProject/NewUnityGraphData 1.meta
new file mode 100644
index 00000000..dcb6035c
--- /dev/null
+++ b/DefaultProject/NewUnityGraphData 1.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: f81fec7eabb7ff547b9a992551d8edd7
+folderAsset: yes
+timeCreated: 1433010055
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs b/DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs
new file mode 100644
index 00000000..1486103f
--- /dev/null
+++ b/DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs
@@ -0,0 +1,25 @@
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Mono Runtime Version: 2.0.50727.1433
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
+
+using uFrame.Kernel;
+
+namespace uFrame.DefaultProject {
+ using System;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+
+ public class NewUnityGraphData1LoaderBase : SystemLoader {
+
+ public override void Load() {
+ }
+ }
+}
diff --git a/MVVM/Views/Bindings/EventBinding.cs.meta b/DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs.meta
similarity index 53%
rename from MVVM/Views/Bindings/EventBinding.cs.meta
rename to DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs.meta
index 40c31254..780b77ef 100644
--- a/MVVM/Views/Bindings/EventBinding.cs.meta
+++ b/DefaultProject/NewUnityGraphData 1/SystemLoaders.designer.cs.meta
@@ -1,8 +1,12 @@
fileFormatVersion: 2
-guid: c6702d49e06f3764896441a569980db0
+guid: 5222a730f2cd029498e5f871eb1a58e1
+timeCreated: 1433010055
+licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/DefaultProject/NewUnityGraphData 1/SystemLoaders.meta b/DefaultProject/NewUnityGraphData 1/SystemLoaders.meta
new file mode 100644
index 00000000..c14c129d
--- /dev/null
+++ b/DefaultProject/NewUnityGraphData 1/SystemLoaders.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 95b0b6a223dccff48aa647639d1be2ba
+folderAsset: yes
+timeCreated: 1433010055
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs b/DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs
new file mode 100644
index 00000000..0b550d64
--- /dev/null
+++ b/DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs
@@ -0,0 +1,14 @@
+namespace uFrame.DefaultProject {
+ using System;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+
+ public class NewUnityGraphData1Loader : NewUnityGraphData1LoaderBase {
+
+ public override void Load() {
+ base.Load();
+ }
+ }
+}
diff --git a/Editor/Templates/SceneManagerSettingsTemplate.cs.meta b/DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs.meta
similarity index 53%
rename from Editor/Templates/SceneManagerSettingsTemplate.cs.meta
rename to DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs.meta
index 943ed003..da4fe5d6 100644
--- a/Editor/Templates/SceneManagerSettingsTemplate.cs.meta
+++ b/DefaultProject/NewUnityGraphData 1/SystemLoaders/NewUnityGraphData1Loader.cs.meta
@@ -1,8 +1,12 @@
fileFormatVersion: 2
-guid: bf3ac5d468808c04196eb1a7a524a1cb
+guid: 2a9efb0694d121047be2a4742fc4e076
+timeCreated: 1433010055
+licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/DefaultProject/NewUnityGraphData.asset b/DefaultProject/NewUnityGraphData.asset
index 4e4fcdb0..ab3dd38c 100644
--- a/DefaultProject/NewUnityGraphData.asset
+++ b/DefaultProject/NewUnityGraphData.asset
@@ -15,11 +15,7 @@ MonoBehaviour:
"Type":"Invert.uFrame.MVVM.SubsystemGraph", "DocumentationMode":"false", "RootNode":{"_CLRType":"Invert.uFrame.MVVM.SubsystemNode,
Assembly-CSharp-Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"Name":"", "IsCollapsed":"false", "Identifier":"6c0a3dc3-65f5-455b-94f8-c7e4469d69b6",
- "Items":[ ], "CollapsedValues":{"98ff4c87-d9b4-443f-a855-95b22a3b6cf2":"false",
- "19ad7308-248a-41ae-9d77-8014aa42edc7":"false", "18f7a20e-6209-46da-b942-c83c244257ee":"false",
- "bf00b416-ea67-4688-97ea-97dad6cebb90":"false", "6878ac18-0030-415e-8084-afe251cf757a":"false",
- "a67638bb-e3ca-46ff-940f-13c1c5987b16":"false", "d285eceb-f642-400a-8a76-0682a93a7729":"false"},
- "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "Items":[ ], "CollapsedValues":{}, "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"IsNewNode":"true"}, "Nodes":[ {"_CLRType":"Invert.uFrame.MVVM.ElementNode, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"ElementA", "IsCollapsed":"false",
@@ -40,16 +36,7 @@ MonoBehaviour:
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"F", "Identifier":"855156e2-d6fc-4632-8a04-f74ec6cc1cd0",
"Precompiled":"false", "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
- "ItemType":""} ], "CollapsedValues":{"8d2fbda6-a01f-4b62-a3d8-57c4a5650677":"false",
- "72692222-90bd-4611-b1b6-03e340b145d0":"false", "a43cfbaa-c3d0-4ded-b617-d5437d970ce1":"false",
- "cadd44cc-860e-4091-8d75-54e76cfda082":"false", "abd14bc3-7668-4b8a-b6e5-9c526b0ffcde":"false",
- "a89fd959-e70d-4803-b703-bc0ef1a3cae7":"false", "9765f863-4b69-4716-867a-e1a706c3fccb":"false",
- "e3386d74-3640-4c3c-8448-f742a2d177cf":"false", "48e1351b-e799-4a89-b7fa-f78f64d5ceec":"false",
- "df6d1ab8-6742-4e0e-8298-10927a54838c":"false", "a21403d3-8bc4-4d5f-8e78-528118e5fb3e":"false",
- "d2a31d3e-299b-4409-87a6-fea255c3cc05":"false", "3f661499-75ac-4c4f-967c-14133b682554":"false",
- "411d6d38-e2bc-4a04-a1e0-772225c52281":"false", "f7a84339-beb9-4f1d-b4c9-5430660bc914":"false",
- "ad48bb49-162a-4b0a-b6f7-cf5ef6377fc0":"false", "110dab29-76b7-4a47-bb6a-73d65d438837":"false"},
- "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "ItemType":""} ], "CollapsedValues":{}, "Flags":{"_CLRType":"true"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"IsNewNode":"true"}, {"_CLRType":"Invert.uFrame.MVVM.ViewNode, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"ViewA", "IsCollapsed":"false",
diff --git a/DefaultProject/Scenes/UIScene.unity b/DefaultProject/Scenes/UIScene.unity
index d5938b01..6efff6de 100644
--- a/DefaultProject/Scenes/UIScene.unity
+++ b/DefaultProject/Scenes/UIScene.unity
@@ -185,7 +185,6 @@ MonoBehaviour:
_BindOnStart: 1
_DisposeOnDestroy: 0
_overrideViewModel: 0
- _resolveName:
_BindPlayGame: 1
_PlayGameButton: {fileID: 459940742}
--- !u!224 &348365650
diff --git a/DefaultProject/ScreenFlow/Machines.designer.cs b/DefaultProject/ScreenFlow/Machines.designer.cs
index 958c62ad..fdf8a28d 100644
--- a/DefaultProject/ScreenFlow/Machines.designer.cs
+++ b/DefaultProject/ScreenFlow/Machines.designer.cs
@@ -8,6 +8,8 @@
//
// ------------------------------------------------------------------------------
+using uFrame.MVVM;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/uFrameStarter.asset b/DefaultProject/uFrameStarter.asset
index ec19aae7..caa51667 100644
--- a/DefaultProject/uFrameStarter.asset
+++ b/DefaultProject/uFrameStarter.asset
@@ -28,7 +28,10 @@ MonoBehaviour:
"95420226-f8ee-470e-b4d9-40013da2301a":"false", "c93415de-6ff2-4aef-b727-acf594e8be5b":"false",
"77bf8f91-4379-4193-8d8e-75667eea0867":"false", "c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false",
"afdecd91-8924-4849-8611-b2620947bcdb":"false", "5abe8530-8bca-41f6-ae08-396c06daa465":"false",
- "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"},
+ "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
+ "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
+ "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
"DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
"Nodes":[ {"_CLRType":"Invert.uFrame.MVVM.SceneTypeNode, Assembly-CSharp-Editor,
@@ -41,7 +44,10 @@ MonoBehaviour:
"c93415de-6ff2-4aef-b727-acf594e8be5b":"false", "77bf8f91-4379-4193-8d8e-75667eea0867":"false",
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "afdecd91-8924-4849-8611-b2620947bcdb":"false",
"5abe8530-8bca-41f6-ae08-396c06daa465":"false", "16305b28-698d-4bd1-84a7-817b8b765c07":"false",
- "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false", "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false",
+ "977cb470-4686-4006-bc16-462491cae37e":"false", "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false",
+ "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false", "43ef0e91-5327-408a-975f-10eb31681b84":"false",
+ "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"IsNewNode":"false"}, {"_CLRType":"Invert.uFrame.MVVM.SceneTypeNode, Assembly-CSharp-Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "Name":"GameScene", "IsCollapsed":"true",
@@ -53,7 +59,10 @@ MonoBehaviour:
"c93415de-6ff2-4aef-b727-acf594e8be5b":"false", "77bf8f91-4379-4193-8d8e-75667eea0867":"false",
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "afdecd91-8924-4849-8611-b2620947bcdb":"false",
"5abe8530-8bca-41f6-ae08-396c06daa465":"false", "16305b28-698d-4bd1-84a7-817b8b765c07":"false",
- "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false", "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false",
+ "977cb470-4686-4006-bc16-462491cae37e":"false", "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false",
+ "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false", "43ef0e91-5327-408a-975f-10eb31681b84":"false",
+ "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"IsNewNode":"false"}, {"_CLRType":"Invert.Core.GraphDesigner.TypeReferenceNode,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
@@ -64,7 +73,10 @@ MonoBehaviour:
"95420226-f8ee-470e-b4d9-40013da2301a":"false", "c93415de-6ff2-4aef-b727-acf594e8be5b":"false",
"77bf8f91-4379-4193-8d8e-75667eea0867":"false", "c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false",
"afdecd91-8924-4849-8611-b2620947bcdb":"false", "5abe8530-8bca-41f6-ae08-396c06daa465":"false",
- "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"},
+ "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
+ "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
+ "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
"DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
{"_CLRType":"Invert.Core.GraphDesigner.TypeReferenceNode, Invert.Core.GraphDesigner,
@@ -76,7 +88,10 @@ MonoBehaviour:
"95420226-f8ee-470e-b4d9-40013da2301a":"false", "c93415de-6ff2-4aef-b727-acf594e8be5b":"false",
"77bf8f91-4379-4193-8d8e-75667eea0867":"false", "c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false",
"afdecd91-8924-4849-8611-b2620947bcdb":"false", "5abe8530-8bca-41f6-ae08-396c06daa465":"false",
- "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"},
+ "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
+ "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
+ "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
"DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"},
{"_CLRType":"Invert.Core.GraphDesigner.TypeReferenceNode, Invert.Core.GraphDesigner,
@@ -87,7 +102,10 @@ MonoBehaviour:
"c93415de-6ff2-4aef-b727-acf594e8be5b":"false", "77bf8f91-4379-4193-8d8e-75667eea0867":"false",
"c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false", "afdecd91-8924-4849-8611-b2620947bcdb":"false",
"5abe8530-8bca-41f6-ae08-396c06daa465":"false", "16305b28-698d-4bd1-84a7-817b8b765c07":"false",
- "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
+ "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false", "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false",
+ "977cb470-4686-4006-bc16-462491cae37e":"false", "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false",
+ "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false", "43ef0e91-5327-408a-975f-10eb31681b84":"false",
+ "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"}, "DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"},
"IsNewNode":"false"}, {"_CLRType":"Invert.Core.GraphDesigner.TypeReferenceNode,
Invert.Core.GraphDesigner, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null",
@@ -96,7 +114,10 @@ MonoBehaviour:
"95420226-f8ee-470e-b4d9-40013da2301a":"false", "c93415de-6ff2-4aef-b727-acf594e8be5b":"false",
"77bf8f91-4379-4193-8d8e-75667eea0867":"false", "c83b5c90-7344-4496-b5d2-52f4846e1b3d":"false",
"afdecd91-8924-4849-8611-b2620947bcdb":"false", "5abe8530-8bca-41f6-ae08-396c06daa465":"false",
- "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false"},
+ "16305b28-698d-4bd1-84a7-817b8b765c07":"false", "d51fd9ac-89d7-4dcb-bca6-dca6486026ea":"false",
+ "3ead6cbe-5fb8-4527-95d5-70f0d6cb5acc":"false", "977cb470-4686-4006-bc16-462491cae37e":"false",
+ "f436167c-e3dd-4010-b513-7b8e6579a3b3":"false", "840597e4-0e15-47e9-a8f8-26c8c9ee5a81":"false",
+ "43ef0e91-5327-408a-975f-10eb31681b84":"false", "2c27cb98-8f9e-456c-ba90-a5eef4b239a9":"false"},
"DataBag":{"_CLRType":"Invert.Core.GraphDesigner.DataBag, Invert.Core.GraphDesigner,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"}, "IsNewNode":"false"}
], "ConnectedItems":[ ], "PositionData":{"_CLRType":"FilterPositionData, Invert.Core.GraphDesigner,
diff --git a/DefaultProject/uFrameStarter/Scenes.designer.cs b/DefaultProject/uFrameStarter/Scenes.designer.cs
index 5f25f604..7869dda3 100644
--- a/DefaultProject/uFrameStarter/Scenes.designer.cs
+++ b/DefaultProject/uFrameStarter/Scenes.designer.cs
@@ -8,6 +8,8 @@
//
// ------------------------------------------------------------------------------
+using uFrame.Kernel;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/DefaultProject/uFrameStarter/ScenesSettings.designer.cs b/DefaultProject/uFrameStarter/ScenesSettings.designer.cs
index f4e280b8..194cea62 100644
--- a/DefaultProject/uFrameStarter/ScenesSettings.designer.cs
+++ b/DefaultProject/uFrameStarter/ScenesSettings.designer.cs
@@ -8,6 +8,8 @@
//
// ------------------------------------------------------------------------------
+using uFrame.Kernel;
+
namespace uFrame.DefaultProject {
using System;
using System.Collections;
diff --git a/Editor/Commands/CreateSceneCommand.cs b/Editor/Commands/CreateSceneCommand.cs
index ee37bc68..45ee8ad1 100644
--- a/Editor/Commands/CreateSceneCommand.cs
+++ b/Editor/Commands/CreateSceneCommand.cs
@@ -3,6 +3,8 @@
using Invert.Core;
using Invert.Core.GraphDesigner;
using Invert.uFrame.MVVM;
+using uFrame.Kernel;
+using uFrame.MVVM.Services;
using UnityEditor;
using UnityEngine;
diff --git a/Editor/Pages/CollectionsPage.cs b/Editor/Pages/CollectionsPage.cs
index 4c30b05e..6832f3ac 100644
--- a/Editor/Pages/CollectionsPage.cs
+++ b/Editor/Pages/CollectionsPage.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM.Templates;
+
namespace Invert.uFrame.MVVM {
using System;
using System.Collections;
diff --git a/Editor/Pages/CommandsPage.cs b/Editor/Pages/CommandsPage.cs
index c1361a5f..67e04f4e 100644
--- a/Editor/Pages/CommandsPage.cs
+++ b/Editor/Pages/CommandsPage.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM.Templates;
+
namespace Invert.uFrame.MVVM {
using System;
using System.Collections;
diff --git a/Editor/Pages/ComputedPropertyPage.cs b/Editor/Pages/ComputedPropertyPage.cs
index 6cc1c123..dd802a17 100644
--- a/Editor/Pages/ComputedPropertyPage.cs
+++ b/Editor/Pages/ComputedPropertyPage.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM.Templates;
+
namespace Invert.uFrame.MVVM {
using System;
using System.Collections;
diff --git a/Editor/Pages/PropertiesPage.cs b/Editor/Pages/PropertiesPage.cs
index 0bbe9449..a2995c03 100644
--- a/Editor/Pages/PropertiesPage.cs
+++ b/Editor/Pages/PropertiesPage.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM.Templates;
+
namespace Invert.uFrame.MVVM {
using System;
using System.Collections;
diff --git a/Editor/Pages/ScenePropertiesPage.cs b/Editor/Pages/ScenePropertiesPage.cs
index 544b353f..df268bb4 100644
--- a/Editor/Pages/ScenePropertiesPage.cs
+++ b/Editor/Pages/ScenePropertiesPage.cs
@@ -1,3 +1,5 @@
+using uFrame.MVVM.Templates;
+
namespace Invert.uFrame.MVVM {
using System;
using System.Collections;
diff --git a/Editor/Pages/ServicePage.cs b/Editor/Pages/ServicePage.cs
index 408bc22c..a414ffaf 100644
--- a/Editor/Pages/ServicePage.cs
+++ b/Editor/Pages/ServicePage.cs
@@ -1,4 +1,5 @@
using Invert.Core.GraphDesigner;
+using uFrame.MVVM.Templates;
namespace Invert.uFrame.MVVM {
using System;
diff --git a/Editor/Pages/SubsystemPage.cs b/Editor/Pages/SubsystemPage.cs
index c02c21ae..4d9d5c52 100644
--- a/Editor/Pages/SubsystemPage.cs
+++ b/Editor/Pages/SubsystemPage.cs
@@ -1,4 +1,5 @@
using Invert.Core.GraphDesigner;
+using uFrame.MVVM.Templates;
using UnityEngine;
namespace Invert.uFrame.MVVM {
diff --git a/Editor/Resources/uFrameReadme.txt b/Editor/Resources/uFrameReadme.txt
index f80624fb..f192aac4 100644
--- a/Editor/Resources/uFrameReadme.txt
+++ b/Editor/Resources/uFrameReadme.txt
@@ -1,6 +1,19 @@
[u]Frame Release Notes
Be sure to subscribe to our newsletter @ invertgamestudios.com for updates, notifications, and cool info.
+Note for 1.5 Users: The 1.6 Version of uFrame, only falls short of a major release due to it being mostly bug fixes and changes that will support
+ the idea of ECS and MVVM working together, and promises for the 1.x release. If you already have a lot of work done in 1.5 save 1.6 for your next game or application.
+ While upgrading is possible if you are familiar enough with it, but it will require a significant effort.
+
+1.6 RC1 Notes
+- uFrame is now seperated into various namespaces, the uFrame.Kernel, and uFrame.MVVM are the main ones.
+ - If you have resharper, just got to each file and click on import 'uFrame.MVVM' or any other required namespace. http://i.imgur.com/0EPGdbO.png
+ - You may also want to check your kernel and ensure that all is well.
+ - It will help with errors if you stick strictly the the unity console and not the visual studio error list, just go down the list of errors and fix the namespace issues.
+ - It will look like you have a lot of errors in the designer files, but a simple namespace will fix them
+- Depending on what beta version you are currently on you may need to fix some collection bindings with {Name}OnAdd, and {Name}OnRemove
+
+
Editor and Project:
1.5.1
Lots of bug fixes
diff --git a/Editor/Templates/CommandClassTemplate.cs b/Editor/Templates/CommandClassTemplate.cs
new file mode 100644
index 00000000..4a07d277
--- /dev/null
+++ b/Editor/Templates/CommandClassTemplate.cs
@@ -0,0 +1,46 @@
+using System.Collections.Generic;
+using System.Linq;
+using Invert.Core;
+using Invert.Core.GraphDesigner;
+
+namespace uFrame.MVVM.Templates
+{
+ [TemplateClass(TemplateLocation.DesignerFile, ClassNameFormat = "{0}Command")]
+ public partial class CommandClassTemplate : CommandClassTemplateBase, IClassRefactorable
+ {
+ public IEnumerable ClassNameFormats
+ {
+ get { yield return "{0}Command"; }
+ }
+
+ public override string OutputPath
+ {
+ get { return Path2.Combine(Ctx.Data.Node.Graph.Name, "Commands"); }
+ }
+
+
+ public override void TemplateSetup()
+ {
+ base.TemplateSetup();
+ this.Ctx.TryAddNamespace("uFrame.Kernel");
+ this.Ctx.TryAddNamespace("uFrame.MVVM");
+ this.Ctx.TryAddNamespace("uFrame.Serialization");
+ foreach (var property in Ctx.Data.PersistedItems.OfType())
+ {
+ var type = InvertApplication.FindTypeByName(property.RelatedTypeName);
+ if (type == null) continue;
+
+ Ctx.TryAddNamespace(type.Namespace);
+ }
+
+ Ctx.CurrentDecleration.IsPartial = true;
+ }
+
+
+ [ForEach("Properties"), GenerateProperty, WithField]
+ public _ITEMTYPE_ _Name_ { get; set; }
+
+ [ForEach("Collections"), GenerateProperty, WithField]
+ public List<_ITEMTYPE_> _CollectionName_ { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/Editor/Templates/CommandClassTemplate.cs.meta b/Editor/Templates/CommandClassTemplate.cs.meta
new file mode 100644
index 00000000..af571d3e
--- /dev/null
+++ b/Editor/Templates/CommandClassTemplate.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 273bb70e11dafa04cbb498c334e6300a
+timeCreated: 1433229787
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Editor/Templates/CommandClassTemplateBase.cs b/Editor/Templates/CommandClassTemplateBase.cs
new file mode 100644
index 00000000..b152d0ea
--- /dev/null
+++ b/Editor/Templates/CommandClassTemplateBase.cs
@@ -0,0 +1,38 @@
+using System.CodeDom;
+using Invert.Core.GraphDesigner;
+using Invert.uFrame.MVVM;
+
+namespace uFrame.MVVM.Templates
+{
+ [TemplateClass(Location = TemplateLocation.DesignerFile, AutoInherit = true, ClassNameFormat = "{0}Command")]
+ public class CommandClassTemplateBase : IClassTemplate
+ {
+
+ private Invert.Core.GraphDesigner.TemplateContext _Ctx;
+
+ public virtual string OutputPath
+ {
+ get { return ""; }
+ }
+
+ public virtual bool CanGenerate
+ {
+ get { return true; }
+ }
+
+ public Invert.Core.GraphDesigner.TemplateContext Ctx
+ {
+ get { return _Ctx; }
+ set { _Ctx = value; }
+ }
+
+ public virtual void TemplateSetup()
+ {
+ if (Ctx.IsDesignerFile)
+ {
+ Ctx.CurrentDecleration.BaseTypes.Clear();
+ Ctx.CurrentDecleration.BaseTypes.Add(new CodeTypeReference("ViewModelCommand"));
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Editor/Templates/CommandClassTemplateBase.cs.meta b/Editor/Templates/CommandClassTemplateBase.cs.meta
new file mode 100644
index 00000000..165340f7
--- /dev/null
+++ b/Editor/Templates/CommandClassTemplateBase.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 21247426ed3f57943b495c2149bb0cb4
+timeCreated: 1433229787
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Editor/Templates/ControllerTemplate.cs b/Editor/Templates/ControllerTemplate.cs
index 96df849d..cd7565cd 100644
--- a/Editor/Templates/ControllerTemplate.cs
+++ b/Editor/Templates/ControllerTemplate.cs
@@ -3,283 +3,253 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
+using System.Reflection;
using Invert.Core;
using Invert.Core.GraphDesigner;
using Invert.uFrame.MVVM;
using uFrame.Graphs;
-[TemplateClass(MemberGeneratorLocation.Both, ClassNameFormat = uFrameFormats.CONTROLLER_FORMAT)]
-public partial class ControllerTemplate : Controller, IClassTemplate, IClassRefactorable, IMethodRefactorable
+namespace uFrame.MVVM.Templates
{
- public TemplateContext Ctx { get; set; }
-
- public string OutputPath
- {
- get { return Path2.Combine(Ctx.Data.Graph.Name, "Controllers"); }
- }
-
- public bool CanGenerate
- {
- get { return true; }
- }
-
- public void TemplateSetup()
+ [TemplateClass(TemplateLocation.Both, ClassNameFormat = uFrameFormats.CONTROLLER_FORMAT)]
+ public partial class ControllerTemplate : Controller, IClassTemplate, IClassRefactorable, IMethodRefactorable
{
+ public TemplateContext Ctx { get; set; }
- Ctx.TryAddNamespace("UniRx");
- foreach (var property in Ctx.Data.PersistedItems.OfType())
+ public string OutputPath
{
- var type = InvertApplication.FindTypeByName(property.RelatedTypeName);
- if (type == null) continue;
-
- Ctx.TryAddNamespace(type.Namespace);
+ get { return Path2.Combine(Ctx.Data.Graph.Name, "Controllers"); }
}
- if (Ctx.IsDesignerFile)
+ public bool CanGenerate
{
- Ctx.CurrentDecleration.Attributes = MemberAttributes.Abstract;
+ get { return true; }
}
- Ctx.AddIterator("CommandMethod", _ => _.AllCommandHandlers.Where(p => string.IsNullOrEmpty(p.RelatedTypeName)));
- Ctx.AddIterator("CommandMethodWithArg", _ => _.AllCommandHandlers.Where(p => !string.IsNullOrEmpty(p.RelatedTypeName)));
-
-
- Ctx.AddIterator("OnCommandMethod",
- _ => _.LocalCommands);
+ public void TemplateSetup()
+ {
+ Ctx.TryAddNamespace("uFrame.IOC");
+ Ctx.TryAddNamespace("uFrame.Kernel");
+ Ctx.TryAddNamespace("uFrame.MVVM");
+ Ctx.TryAddNamespace("uFrame.Serialization");
+ Ctx.TryAddNamespace("UniRx");
+ foreach (var property in Ctx.Data.PersistedItems.OfType())
+ {
+ var type = InvertApplication.FindTypeByName(property.RelatedTypeName);
+ if (type == null) continue;
+ Ctx.TryAddNamespace(type.Namespace);
+ }
- if (Ctx.Data.BaseNode == null)
+ if (Ctx.IsDesignerFile)
+ {
+ Ctx.CurrentDecleration.Attributes = MemberAttributes.Abstract;
+ }
+ }
+ public IEnumerable CommandsWithoutArgs
{
- Ctx.AddIterator("InstanceProperty",
- _ => _.Graph.NodeItems.OfType().SelectMany(p => p.Instances).Distinct());
+ get { return Ctx.Data.AllCommandHandlers.Where(p => string.IsNullOrEmpty(p.RelatedTypeName)); }
}
- else
+ public IEnumerable CommandsWithArgs
{
- Ctx.AddCondition("InstanceProperty", _ => false);
+ get { return Ctx.Data.AllCommandHandlers.Where(p => !string.IsNullOrEmpty(p.RelatedTypeName)); }
}
- }
-
- public IEnumerable Instances
- {
- get
+ public IEnumerable Instances
{
- if (Ctx.Data.BaseNode == null)
+ get
{
- foreach (
- var item in Ctx.Data.Graph.NodeItems.OfType().SelectMany(p => p.Instances).Distinct()
- )
+ if (Ctx.Data.BaseNode == null)
{
- yield return item;
+ foreach (
+ var item in Ctx.Data.Graph.NodeItems.OfType().SelectMany(p => p.Instances).Distinct()
+ )
+ {
+ yield return item;
+ }
}
}
}
- }
- public string NameAsViewModel { get { return Ctx.Data.Name.AsViewModel(); } }
+ public string NameAsViewModel { get { return Ctx.Data.Name.AsViewModel(); } }
- //[TemplateProperty(MemberGeneratorLocation.DesignerFile, AutoFill = AutoFillType.NameAndTypeWithBackingField, NameFormat = "{0}ViewModelManager")]
- [ForEach("Instances"),TemplateProperty,WithField]
- public IViewModelManager _Name_ViewModelManager
- {
- get
+ //[TemplateProperty(TemplateLocation.DesignerFile, AutoFill = AutoFillType.NameAndTypeWithBackingField, NameFormat = "{0}ViewModelManager")]
+ [GenerateProperty, WithField]
+ public IViewModelManager _Name_ViewModelManager
{
- Ctx.SetType(typeof(IViewModelManager)); // I force this so it doesn't change it
- Ctx.CurrentProperty.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(InjectAttribute).ToCodeReference(), new CodeAttributeArgument(new CodePrimitiveExpression(Ctx.Data.Name))));
- return null;
+ get
+ {
+ Ctx.SetType(typeof(IViewModelManager)); // I force this so it doesn't change it
+ Ctx.CurrentProperty.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(uFrame.IOC.InjectAttribute).ToCodeReference(), new CodeAttributeArgument(new CodePrimitiveExpression(Ctx.Data.Name))));
+ return null;
+ }
}
- }
- [TemplateProperty(MemberGeneratorLocation.DesignerFile, AutoFillType.NameAndTypeWithBackingField)]
- public ViewModel InstanceProperty
- {
- get
+ [ForEach("Instances"), GenerateProperty, WithField]
+ public _REFNAME_VIEWMODEL _Name_
{
- Ctx.CurrentProperty.CustomAttributes.Add(new CodeAttributeDeclaration(
- typeof(InjectAttribute).ToCodeReference(),
- new CodeAttributeArgument(new CodePrimitiveExpression(Ctx.ItemAs().Name))
- ));
+ get
+ {
+
+ Ctx.CurrentProperty.CustomAttributes.Add(new CodeAttributeDeclaration(
+ typeof(uFrame.IOC.InjectAttribute).ToCodeReference(),
+ new CodeAttributeArgument(new CodePrimitiveExpression(Ctx.ItemAs().Name))
+ ));
- return null;
- }
- set
- {
+ return null;
+ }
+ set
+ {
+ }
}
- }
- [TemplateMethod(MemberGeneratorLocation.Both)]
- public override void Setup()
- {
- base.Setup();
- Ctx._comment("This is called when the controller is created");
- if (Ctx.IsDesignerFile)
+ [GenerateMethod(TemplateLocation.Both)]
+ public override void Setup()
{
-// foreach (var command in Ctx.Data.AllCommandHandlers)
-// {
-// Ctx._("this.OnEvent<{0}Command>().Subscribe(this.{0}Handler)", command.Name);
-// }
- //foreach (var command in Ctx.Data.Handlers.Where(p => !(p.SourceItem is CommandsChildItem)))
- //{
- // Ctx._("this.OnEvent<{0}>().Subscribe(this.{0}Handler)", command.Name);
- //}
-
- //Ctx._("this.EventAggregator.OnViewModelCreated<{0}>().Subscribe(vm => this.Initialize{1}(vm as {0}));", Ctx.Data.Name.AsViewModel(), Ctx.Data.Name);
- //Ctx._("this.EventAggregator.OnViewModelDestroyed<{0}>().Subscribe(this.DisposingViewModel);", Ctx.Data.Name.AsViewModel());
+ base.Setup();
+ Ctx._comment("This is called when the controller is created");
+ if (Ctx.IsDesignerFile)
+ {
+ // foreach (var command in Ctx.Data.AllCommandHandlers)
+ // {
+ // Ctx._("this.OnEvent<{0}Command>().Subscribe(this.{0}Handler)", command.Name);
+ // }
+ //foreach (var command in Ctx.Data.Handlers.Where(p => !(p.SourceItem is CommandsChildItem)))
+ //{
+ // Ctx._("this.OnEvent<{0}>().Subscribe(this.{0}Handler)", command.Name);
+ //}
+
+ //Ctx._("this.EventAggregator.OnViewModelCreated<{0}>().Subscribe(vm => this.Initialize{1}(vm as {0}));", Ctx.Data.Name.AsViewModel(), Ctx.Data.Name);
+ //Ctx._("this.EventAggregator.OnViewModelDestroyed<{0}>().Subscribe(this.DisposingViewModel);", Ctx.Data.Name.AsViewModel());
- }
+ }
- }
+ }
- [TemplateProperty]
- public IEnumerable