diff --git a/src/Bolt.Addons.Community.sln b/src/Bolt.Addons.Community.sln
index 7ecf5bed..c6bc32e7 100644
--- a/src/Bolt.Addons.Community.sln
+++ b/src/Bolt.Addons.Community.sln
@@ -1,4 +1,3 @@
-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2027
@@ -7,11 +6,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Downloader", "Downloader",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Legacy", "Legacy", "{0F6B5AB0-D090-41AF-9266-29998CC557E7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bolt.Addons.Community.Events.Editor", "Events\Editor\Bolt.Addons.Community.Events.Editor.csproj", "{A48FB4F2-A962-4628-8F1E-35191B078F43}"
- ProjectSection(ProjectDependencies) = postProject
- {33411767-CA47-4D3B-A82C-D77AB4C5FA97} = {33411767-CA47-4D3B-A82C-D77AB4C5FA97}
- EndProjectSection
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Fundamentals", "Fundamentals", "{F1756C9F-2895-479E-811A-6E7AA3086E57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bolt.Addons.Community.Logic", "Legacy\Bolt.Addons.Community.Logic.csproj", "{63E0BE87-2979-4275-A37E-B7F8CBD365F9}"
@@ -41,6 +35,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bolt.Addons.Community.Utili
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bolt.Addons.Community.Utility.Editor", "Utility\Bolt.Addons.Community.Utility.Editor.csproj", "{FCADD801-FF9E-46E5-A573-E06FA0C8661B}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bolt.Addons.Community.Events.Editor", "Events\Bolt.Addons.Community.Events.Editor.csproj", "{358C5D0B-573F-4DE3-A00A-1429C9D5ED00}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -49,10 +45,6 @@ Global
Release4.6|Any CPU = Release4.6|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A48FB4F2-A962-4628-8F1E-35191B078F43}.Debug|Any CPU.ActiveCfg = Release|Any CPU
- {A48FB4F2-A962-4628-8F1E-35191B078F43}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A48FB4F2-A962-4628-8F1E-35191B078F43}.Release3.5|Any CPU.ActiveCfg = Release|Any CPU
- {A48FB4F2-A962-4628-8F1E-35191B078F43}.Release4.6|Any CPU.ActiveCfg = Release|Any CPU
{63E0BE87-2979-4275-A37E-B7F8CBD365F9}.Debug|Any CPU.ActiveCfg = Release4.6|Any CPU
{63E0BE87-2979-4275-A37E-B7F8CBD365F9}.Debug|Any CPU.Build.0 = Release4.6|Any CPU
{63E0BE87-2979-4275-A37E-B7F8CBD365F9}.Release|Any CPU.ActiveCfg = Release4.6|Any CPU
@@ -101,10 +93,14 @@ Global
{3CE813EF-2925-41C5-B8BA-D8F2BE90058B}.Release3.5|Any CPU.Build.0 = Release3.5|Any CPU
{3CE813EF-2925-41C5-B8BA-D8F2BE90058B}.Release4.6|Any CPU.ActiveCfg = Release4.6|Any CPU
{3CE813EF-2925-41C5-B8BA-D8F2BE90058B}.Release4.6|Any CPU.Build.0 = Release4.6|Any CPU
- {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Debug|Any CPU.ActiveCfg = Release|Any CPU
- {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release3.5|Any CPU.ActiveCfg = Release|Any CPU
- {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release4.6|Any CPU.ActiveCfg = Release|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Debug|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Debug|Any CPU.Build.0 = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release|Any CPU.Build.0 = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release3.5|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release3.5|Any CPU.Build.0 = Release3.5|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release4.6|Any CPU.ActiveCfg = Release4.6|Any CPU
+ {33411767-CA47-4D3B-A82C-D77AB4C5FA97}.Release4.6|Any CPU.Build.0 = Release4.6|Any CPU
{A2FDB1FB-E259-45C0-B46A-4E416110BBB3}.Debug|Any CPU.ActiveCfg = Release3.5|Any CPU
{A2FDB1FB-E259-45C0-B46A-4E416110BBB3}.Debug|Any CPU.Build.0 = Release3.5|Any CPU
{A2FDB1FB-E259-45C0-B46A-4E416110BBB3}.Release|Any CPU.ActiveCfg = Release3.5|Any CPU
@@ -121,12 +117,19 @@ Global
{FCADD801-FF9E-46E5-A573-E06FA0C8661B}.Release3.5|Any CPU.Build.0 = Release3.5|Any CPU
{FCADD801-FF9E-46E5-A573-E06FA0C8661B}.Release4.6|Any CPU.ActiveCfg = Release4.6|Any CPU
{FCADD801-FF9E-46E5-A573-E06FA0C8661B}.Release4.6|Any CPU.Build.0 = Release4.6|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Debug|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Debug|Any CPU.Build.0 = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release|Any CPU.Build.0 = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release3.5|Any CPU.ActiveCfg = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release3.5|Any CPU.Build.0 = Release3.5|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release4.6|Any CPU.ActiveCfg = Release4.6|Any CPU
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}.Release4.6|Any CPU.Build.0 = Release4.6|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {A48FB4F2-A962-4628-8F1E-35191B078F43} = {7D856461-F36E-4843-AA41-C908A2FA7E2C}
{63E0BE87-2979-4275-A37E-B7F8CBD365F9} = {0F6B5AB0-D090-41AF-9266-29998CC557E7}
{A92A0A22-56D4-4B8A-9623-913B6846A106} = {0F6B5AB0-D090-41AF-9266-29998CC557E7}
{5E5C0512-81BC-4C47-878C-89F723D1A589} = {0F6B5AB0-D090-41AF-9266-29998CC557E7}
@@ -136,6 +139,7 @@ Global
{33411767-CA47-4D3B-A82C-D77AB4C5FA97} = {7D856461-F36E-4843-AA41-C908A2FA7E2C}
{A2FDB1FB-E259-45C0-B46A-4E416110BBB3} = {4C7742BC-F6EB-463D-BB44-2783BEC16520}
{FCADD801-FF9E-46E5-A573-E06FA0C8661B} = {4C7742BC-F6EB-463D-BB44-2783BEC16520}
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00} = {7D856461-F36E-4843-AA41-C908A2FA7E2C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FBD3EB6F-0BDA-4218-8D0C-0756C8AFE605}
diff --git a/src/Bolt.targets b/src/Bolt.targets
index 12068a38..57f9c428 100644
--- a/src/Bolt.targets
+++ b/src/Bolt.targets
@@ -1,6 +1,6 @@
- 1.4.0
+ 1.4.1
4.6
diff --git a/src/Events/Editor/Bolt.Addons.Community.Events.Editor.csproj b/src/Events/Bolt.Addons.Community.Events.Editor.csproj
similarity index 79%
rename from src/Events/Editor/Bolt.Addons.Community.Events.Editor.csproj
rename to src/Events/Bolt.Addons.Community.Events.Editor.csproj
index 1f4deb91..aa5caa39 100644
--- a/src/Events/Editor/Bolt.Addons.Community.Events.Editor.csproj
+++ b/src/Events/Bolt.Addons.Community.Events.Editor.csproj
@@ -4,67 +4,66 @@
Debug
AnyCPU
- {A48FB4F2-A962-4628-8F1E-35191B078F43}
+ {358C5D0B-573F-4DE3-A00A-1429C9D5ED00}
Library
Properties
- Bolt.Addons.Community.Events.Editor
- Bolt.Addons.Community.Events.Editor
+ Bolt.Addons.Community.DefinedEvents.Editor
+ Bolt.Addons.Community.DefinedEvents.Editor
512
-
- $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Core.Editor.dll
- False
-
$(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Core.Runtime.dll
- False
+
+
+ $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Flow.Runtime.dll
+
+
+ $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Core.Runtime.dll
+
+
+ $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Graphs.Runtime.dll
+
+
+ $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Core.Editor.dll
$(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Flow.Editor.dll
- False
-
- $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.Flow.Runtime.dll
- False
+
+ $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Bolt.State.Editor.dll
$(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Core.Editor.dll
- False
-
-
- $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Core.Runtime.dll
- False
$(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Graphs.Editor.dll
- False
-
-
- $(SolutionDir)\..\Dependencies\\BoltBinaries\$(BoltVersion)\.NET$(TargetFrameworkVersionNumber)\Ludiq.Graphs.Runtime.dll
- False
-
- $(SolutionDir)\..\Dependencies\\UnityBinaries\UnityEditor.dll
- False
-
+
$(SolutionDir)\..\Dependencies\\UnityBinaries\UnityEngine.dll
+
+ $(SolutionDir)\..\Dependencies\\UnityBinaries\UnityEngine.UI.dll
+
+
+ $(SolutionDir)\..\Dependencies\\UnityBinaries\UnityEditor.dll
+
+
-
-
+
-
+
{33411767-ca47-4d3b-a82c-d77ab4c5fa97}
Bolt.Addons.Community.Events
+
\ No newline at end of file
diff --git a/src/Events/Bolt.Addons.Community.Events.csproj b/src/Events/Bolt.Addons.Community.Events.csproj
index d7b7e804..f4f64e36 100644
--- a/src/Events/Bolt.Addons.Community.Events.csproj
+++ b/src/Events/Bolt.Addons.Community.Events.csproj
@@ -7,8 +7,8 @@
{33411767-CA47-4D3B-A82C-D77AB4C5FA97}
Library
Properties
- Bolt.Addons.Community.Events
- Bolt.Addons.Community.Events
+ Bolt.Addons.Community.DefinedEvents
+ Bolt.Addons.Community.DefinedEvents
512
@@ -40,10 +40,23 @@
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {c7fa2fb0-acd3-4957-a653-979afadc3145}
+ Bolt.Addons.Community.Fundamentals
+
diff --git a/src/Events/Editor/Properties/AssemblyInfo.cs b/src/Events/Editor/Properties/AssemblyInfo.cs
deleted file mode 100644
index 7741d753..00000000
--- a/src/Events/Editor/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Bolt.Addons.Community.Events.Editor")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Bolt.Addons.Community.Events.Editor")]
-[assembly: AssemblyCopyright("Copyright © 2018")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a48fb4f2-a962-4628-8f1e-35191b078f43")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Events/Editor/TriggerReturnEventDescriptor.cs b/src/Events/Editor/TriggerReturnEventDescriptor.cs
deleted file mode 100644
index 287f1cc8..00000000
--- a/src/Events/Editor/TriggerReturnEventDescriptor.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using Ludiq;
-using Bolt;
-
-namespace Bolt.Addons.Community.Events
-{
- [Descriptor(typeof(TriggerReturnEvent))]
- class TriggerReturnEventDescriptor : UnitDescriptor
- {
- public TriggerReturnEventDescriptor(TriggerReturnEvent unit) : base(unit)
- {
-
- }
- }
-}
diff --git a/src/Events/Editor/TriggerReturnEventWidget.cs b/src/Events/Editor/TriggerReturnEventWidget.cs
deleted file mode 100644
index f000e487..00000000
--- a/src/Events/Editor/TriggerReturnEventWidget.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using Ludiq;
-using Bolt;
-
-namespace Bolt.Addons.Community.Events {
- [Widget(typeof(TriggerReturnEvent))]
- public class TriggerReturnEventWidget : UnitWidget
- {
- public TriggerReturnEventWidget(TriggerReturnEvent unit) : base(unit)
- {
-
- }
-
- protected override NodeColorMix baseColor
- {
- get
- {
- return NodeColor.Gray;
- }
- }
-
- }
-
-}
diff --git a/src/Events/IDefinedEvent.cs b/src/Events/IDefinedEvent.cs
new file mode 100644
index 00000000..8c029c1e
--- /dev/null
+++ b/src/Events/IDefinedEvent.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Bolt.Addons.Community.DefinedEvents
+{
+ public interface IDefinedEvent
+ {
+ }
+}
diff --git a/src/Events/Inspectors/DefinedEventInspector.cs b/src/Events/Inspectors/DefinedEventInspector.cs
new file mode 100644
index 00000000..aeec1402
--- /dev/null
+++ b/src/Events/Inspectors/DefinedEventInspector.cs
@@ -0,0 +1,40 @@
+using Bolt.Addons.Community.DefinedEvents.Units;
+using Ludiq;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using UnityEngine;
+
+
+namespace Ludiq
+{
+ //[Inspector(typeof(TargettedDefinedEvent))]
+ //public class DefinedEventInspector : ReflectedInspector
+ //{
+ // public DefinedEventInspector(Metadata metadata) : base(metadata)
+ // {
+ // Debug.Log($"hi");
+ // }
+
+ // protected override bool Include(MemberInfo m)
+ // {
+
+ // if (m.Name == "eventType")
+ // {
+ // return true;
+ // //return (bool)metadata["IsNotRestricted"].value;
+ // }
+
+
+ // if (m.Name == "restrictedEventType")
+ // {
+ // return true;
+ // //return (bool)metadata["IsRestricted"].value;
+ // }
+
+ // return base.Include(m);
+ // }
+ //}
+}
\ No newline at end of file
diff --git a/src/Events/Return.cs b/src/Events/Return.cs
deleted file mode 100644
index b646c501..00000000
--- a/src/Events/Return.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using Ludiq;
-using Bolt;
-using System;
-using System.Collections.ObjectModel;
-
-namespace Bolt.Addons.Community.Events
-{
- [UnitCategory("Events/Return")]
- public class Return : Unit
- {
- [DoNotSerialize][PortLabelHidden]
- public ControlInput enter;
- [DoNotSerialize]
- public ValueInput returnUnit;
- [DoNotSerialize]
- public ValueInput returnValue;
-
- protected override void Definition()
- {
- enter = ControlInput("enter", new Action(Enter));
-
- returnUnit = ValueInput("returnUnit");
-
- returnValue = ValueInput