Initial Commit

This commit is contained in:
Sebastian Cabrera 2021-08-02 05:44:37 -04:00
parent 53eb92e9af
commit 270ab7d11f
15341 changed files with 700234 additions and 0 deletions

View file

@ -0,0 +1,64 @@
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(ID)]
[PluginDependency(BoltCore.ID)]
[Product(BoltProduct.ID)]
[PluginRuntimeAssembly("Unity." + ID)]
public sealed class BoltFlow : Plugin
{
public BoltFlow()
{
instance = this;
}
public static BoltFlow instance { get; private set; }
[RenamedFrom("Bolt.Flow")]
public const string ID = "VisualScripting.Flow";
public static BoltFlowManifest Manifest => (BoltFlowManifest)instance.manifest;
public static BoltFlowConfiguration Configuration => (BoltFlowConfiguration)instance.configuration;
public static BoltFlowResources Resources => (BoltFlowResources)instance.resources;
public static BoltFlowResources.Icons Icons => Resources.icons;
public static BoltFlowPaths Paths => (BoltFlowPaths)instance.paths;
public const string LegacyRuntimeDllGuid = "a040fb66244a7f54289914d98ea4ef7d";
public const string LegacyEditorDllGuid = "6cb65bfc2ee1c854ca1382175f3aba91";
public override IEnumerable<ScriptReferenceReplacement> scriptReferenceReplacements
{
get
{
#pragma warning disable 618
yield return ScriptReferenceReplacement.From<FlowMachine>(ScriptReference.Dll(LegacyRuntimeDllGuid, "Bolt", "FlowMachine"));
yield return ScriptReferenceReplacement.From<ScriptGraphAsset>(ScriptReference.Dll(LegacyRuntimeDllGuid, "Bolt", "FlowMacro"));
// Variables moved to Bolt.Core assembly in v.1.3
yield return ScriptReferenceReplacement.From<Variables>(ScriptReference.Dll(LegacyRuntimeDllGuid, "Bolt", "Variables"));
yield return ScriptReferenceReplacement.From<SceneVariables>(ScriptReference.Dll(LegacyRuntimeDllGuid, "Bolt", "SceneVariables"));
yield return ScriptReferenceReplacement.From<VariablesAsset>(ScriptReference.Dll(LegacyRuntimeDllGuid, "Bolt", "VariablesAsset"));
#pragma warning restore 618
}
}
public override IEnumerable<string> tips
{
get
{
yield return "Did you know you can dance?";
yield return "Lorem ipsum dolor sit amet";
}
}
public override void RunAction()
{
UnitBase.Build();
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 35120fe15be16499ca078be48d042be0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,74 @@
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
public sealed class BoltFlowConfiguration : PluginConfiguration
{
private BoltFlowConfiguration(BoltFlow plugin) : base(plugin) { }
public override string header => "Script Graphs";
/// <summary>
/// (Experimental) Whether the unit database should be incrementally updated
/// whenever a codebase change is detected.
/// </summary>
[EditorPref]
public bool updateUnitsAutomatically { get; set; } = false;
/// <summary>
/// Whether predictive debugging should warn about null value inputs.
/// Note that in some cases, this setting may report false positives.
/// </summary>
[EditorPref]
public bool predictPotentialNullReferences { get; set; } = true;
/// <summary>
/// Whether predictive debugging should warn about missing components.
/// Note that in some cases, this setting may report false positives.
/// </summary>
[EditorPref]
public bool predictPotentialMissingComponents { get; set; } = true;
/// <summary>
/// Whether values should be shown on flow graph connections.
/// </summary>
[EditorPref]
public bool showConnectionValues { get; set; } = true;
/// <summary>
/// Whether predictable values should be shown on flow graph connections.
/// </summary>
[EditorPref]
public bool predictConnectionValues { get; set; } = false;
/// <summary>
/// Whether labels should be hidden on ports when the value can be deduced from the context.
/// Disabling will make units more explicit but less compact.
/// </summary>
[EditorPref]
public bool hidePortLabels { get; set; } = true;
/// <summary>
/// Whether active control connections should show a droplet animation.
/// </summary>
[EditorPref]
public bool animateControlConnections { get; set; } = true;
/// <summary>
/// Whether active value connections should show a droplet animation.
/// </summary>
[EditorPref]
public bool animateValueConnections { get; set; } = true;
/// <summary>
/// When active, right-clicking a flow graph will skip the context menu
/// and instantly open the fuzzy finder. To open the context menu, hold shift.
/// </summary>
[EditorPref]
public bool skipContextMenu { get; set; } = false;
[ProjectSetting(visible = false, resettable = false)]
public HashSet<string> favoriteUnitOptions { get; set; } = new HashSet<string>();
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: afd111c0051bd41439aa4f5de930fb9e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,13 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
public sealed class BoltFlowManifest : PluginManifest
{
private BoltFlowManifest(BoltFlow plugin) : base(plugin) { }
public override string name => "Visual Scripting Flow";
public override string author => "";
public override string description => "Flow-graph based visual scripting.";
public override SemanticVersion version => "1.5.1";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7230668878e5541ab9b6daede3579120
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,12 @@
using System.IO;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
public class BoltFlowPaths : PluginPaths
{
public BoltFlowPaths(Plugin plugin) : base(plugin) { }
public string unitOptions => Path.Combine(transientGenerated, "UnitOptions.db");
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 34eb0a13fb8094c65ae91104772ab043
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,86 @@
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
public sealed class BoltFlowResources : PluginResources
{
private BoltFlowResources(BoltFlow plugin) : base(plugin)
{
icons = new Icons(this);
}
public Icons icons { get; private set; }
public override void LateInitialize()
{
base.LateInitialize();
icons.Load();
}
public class Icons
{
public Icons(BoltFlowResources resources)
{
this.resources = resources;
}
private readonly Dictionary<UnitCategory, EditorTexture> unitCategoryIcons = new Dictionary<UnitCategory, EditorTexture>();
private readonly BoltFlowResources resources;
public EditorTexture graph { get; private set; }
public EditorTexture unit { get; private set; }
public EditorTexture flowMacro { get; private set; }
public EditorTexture unitCategory { get; private set; }
public EditorTexture controlPortConnected { get; private set; }
public EditorTexture controlPortUnconnected { get; private set; }
public EditorTexture valuePortConnected { get; private set; }
public EditorTexture valuePortUnconnected { get; private set; }
public EditorTexture invalidPortConnected { get; private set; }
public EditorTexture invalidPortUnconnected { get; private set; }
public EditorTexture coroutine { get; private set; }
public void Load()
{
graph = typeof(FlowGraph).Icon();
unit = typeof(IUnit).Icon();
flowMacro = resources.LoadIcon("Icons/FlowMacro.png");
unitCategory = resources.LoadIcon("Icons/UnitCategory.png");
var portResolutions = new[] { new TextureResolution(9, 12), new TextureResolution(12, 24) };
var portOptions = CreateTextureOptions.PixelPerfect;
controlPortConnected = resources.LoadTexture("Ports/ControlPortConnected.png", portResolutions, portOptions);
controlPortUnconnected = resources.LoadTexture("Ports/ControlPortUnconnected.png", portResolutions, portOptions);
valuePortConnected = resources.LoadTexture("Ports/ValuePortConnected.png", portResolutions, portOptions);
valuePortUnconnected = resources.LoadTexture("Ports/ValuePortUnconnected.png", portResolutions, portOptions);
invalidPortConnected = resources.LoadTexture("Ports/InvalidPortConnected.png", portResolutions, portOptions);
invalidPortUnconnected = resources.LoadTexture("Ports/InvalidPortUnconnected.png", portResolutions, portOptions);
coroutine = resources.LoadIcon("Icons/Coroutine.png");
}
public EditorTexture UnitCategory(UnitCategory category)
{
if (category == null)
{
return unitCategory;
}
if (!unitCategoryIcons.ContainsKey(category))
{
var path = $"Icons/UnitCategories/{category.fullName}.png";
unitCategoryIcons.Add(category, LoadSharedIcon(path, false) ?? unitCategory);
}
return unitCategoryIcons[category];
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2cd0a0d24519f4791881db992d550519
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f4a59cc4167794c82ac20fc006059f15
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_0_0 : PluginChangelog
{
public Changelog_1_0_0(Plugin plugin) : base(plugin) { }
public override string description => "Initial Release";
public override SemanticVersion version => "1.0.0";
public override DateTime date => new DateTime(2017, 07, 26);
public override IEnumerable<string> changes => Enumerable.Empty<string>();
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 15fc2d4ef8afe4fc89ea6fd070a0b940
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_0_1 : PluginChangelog
{
public Changelog_1_0_1(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.0.1";
public override DateTime date => new DateTime(2017, 07, 29);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Editor crash when units describe infinite indirect recursion";
yield return "[Fixed] Automatic type conversion not happening on member invocation units";
yield return "[Fixed] Reflection bug for methods declaring value type parameters with default values";
yield return "[Fixed] Inline values for game objects and components getting overridden by self";
yield return "[Fixed] Runtime added events not listening instantly";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8246e995aafc341d299ef4fa86fdf7b7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_0_2 : PluginChangelog
{
public Changelog_1_0_2(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.0.2";
public override DateTime date => new DateTime(2017, 08, 08);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Adding units from fuzzy finder not registering an undo";
yield return "[Fixed] Serialization issue with unit definitions";
yield return "[Fixed] Casting error in missing component prediction";
yield return "[Fixed] Missing default values after nested macro deserialization";
yield return "[Fixed] Events in super units not listening";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8c3e369ab33c043c0acbf12447f544dd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_0_3 : PluginChangelog
{
public Changelog_1_0_3(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.0.3";
public override DateTime date => new DateTime(2017, 09, 08);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Unit database system to speed up loading times";
yield return "[Added] Unit options wizard";
yield return "[Added] GUI pointer events";
yield return "[Fixed] Events not firing recursively";
yield return "[Fixed] Hierarchy issues with the unit option tree";
yield return "[Fixed] Error with super unit control output definition";
yield return "[Fixed] Macro instance sharing issues";
yield return "[Fixed] Recursive graph issues";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6ecc2f8b70abd4db6b68b36debb70605
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_0_4 : PluginChangelog
{
public Changelog_1_0_4(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.0.4";
public override DateTime date => new DateTime(2017, 09, 15);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Constructors at the root of contextual fuzzy finders";
yield return "[Added] Scalar normalize unit";
yield return "[Changed] Super units with nested events color to green";
yield return "[Changed] Header display for variable units";
yield return "[Changed] Error message for member units edge case";
yield return "[Fixed] Type downcasting only working for object";
yield return "[Fixed] Nested state machines not updating";
yield return "[Fixed] Nested graphs not creating AOT stubs";
yield return "[Fixed] Custom event argument count error";
yield return "[Fixed] Various small recursion related issues";
yield return "[Fixed] Variable units not pre-filling name";
yield return "[Fixed] Unscaled delta time for On Timer Elapsed event";
yield return "[Fixed] Scene variables singleton error with additive scene loading";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bab36f7f19dbd40b8869e04ae3e8f9e1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_1_0 : PluginChangelog
{
public Changelog_1_1_0(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.1.0";
public override DateTime date => new DateTime(2017, 10, 03);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Active connections animation";
yield return "[Added] Active node colors fade out";
yield return "[Added] Smart output contextual options";
yield return "[Added] Prominent unit settings labels";
yield return "[Added] Units resize based on content";
yield return "[Fixed] Scene variables disappearing";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 08be229f18d1b43f7a1bcf8db4bcb6f1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_1_1 : PluginChangelog
{
public Changelog_1_1_1(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.1.1";
public override DateTime date => new DateTime(2017, 10, 10);
public override IEnumerable<string> changes
{
get
{
yield return "[Changed] Variable units color to teal";
yield return "[Remove] Custom operators reflected methods";
yield return "[Removed] Numeric Comparison unit";
yield return "[Removed] Equality Comparison unit";
yield return "[Added] Comparison unit";
yield return "[Added] Generic math operator units";
yield return "[Removed] Approximately Equal unit";
yield return "[Removed] Approximately Not Equal unit";
yield return "[Changed] Equal and Not Equal units handle floating point errors";
yield return "[Added] Non-numeric mode for comparison units";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 08967dce54aef4d0d8e4e8e367f28cd5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_1_2 : PluginChangelog
{
public Changelog_1_1_2(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.1.2";
public override DateTime date => new DateTime(2017, 10, 16);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Wait units";
yield return "[Added] Animation events";
yield return "[Added] UnityEvent event";
yield return "[Added] Smart contextual options for numeric and boolean input ports";
yield return "[Optimized] Super unit memory allocation";
yield return "[Optimized] Member invocation units memory allocation";
yield return "[Optimized] Loop units memory allocation";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fb52af51c49c24810bccfff47fba0f3b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_1_3 : PluginChangelog
{
public Changelog_1_1_3(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.1.3";
public override DateTime date => new DateTime(2017, 10, 30);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Support for reflected inspectors in literals";
yield return "[Added] Static API shortcuts to Variables class";
yield return "[Changed] Graph level contextual menu to Shift+RMB";
yield return "[Optimized] Update loops";
yield return "[Fixed] Warning unit colors missing when in play mode";
yield return "[Fixed] Deserialization error due to nester owner being serialized";
yield return "[Fixed] Select / Switch on integer / string failing to initialize";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0693ad0717d1d4b5cb52b2779d2269a2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_2_0 : PluginChangelog
{
public Changelog_1_2_0(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.2.0";
public override DateTime date => new DateTime(2017, 11, 16);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Component drag & drop";
yield return "[Added] Game Object drag & drop";
yield return "[Added] Scriptable Object drag & drop";
yield return "[Added] Macro drag & drop onto nester units for replacement";
yield return "[Added] Variable drag & drop";
yield return "[Added] Variable kind dropdown";
yield return "[Added] Variable name suggestion dropdown";
yield return "[Added] Object variable name suggestions from current parent object";
yield return "[Added] Dynamic variable name suggestions from current graph";
yield return "[Added] Subcategories to variables category in fuzzy finder";
yield return "[Added] Parent object components category to fuzzy finder";
yield return "[Added] Automatic target port selection when creating connections";
yield return "[Added] Connection target preview overlay";
yield return "[Added] Dimming of incompatible nodes and ports";
yield return "[Added] Hovered port and connection highlight";
yield return "[Added] Option to skip context menu";
yield return "[Added] Add Unit option to context menu";
yield return "[Added] Non-destructive unit replacement (Context > Replace Unit...)";
yield return "[Added] Option to disable editor value prediction";
yield return "[Added] Option for dictionary enumeration in for each loop";
yield return "[Added] Fallback value option for get variable units";
yield return "[Fixed] Obsolete unit warning on inherited types";
yield return "[Obsoleted] Previous variable units";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 60fc7941912584779820b794c8661bca
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_2_2 : PluginChangelog
{
public Changelog_1_2_2(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.2.2";
public override DateTime date => new DateTime(2017, 12, 04);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Incremental unit database update";
yield return "[Added] Naming-scheme hot switching";
yield return "[Added] Isolated scene variables";
yield return "[Added] Option to disable automatic scene variables creation";
yield return "[Added] List Contains Item unit";
yield return "[Added] Dictionary Contains Key unit";
yield return "[Changed] Scene variables API";
yield return "[Changed] Moved naming scheme from unit options wizard to editor preferences";
yield return "[Removed] Member setting on codebase reflected units (use replacement instead";
yield return "[Fixed] Drag & drop of scene-bound components";
yield return "[Fixed] Error in unit warnings for destroyed objects";
yield return "[Fixed] Is Variable Defined unit creation from fuzzy finder";
yield return "[Fixed] Fuzzy finder error when parent components are missing";
yield return "[Fixed] Game object events fetching target twice";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5db3ca2814500487aafc2950ac32f61e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_2_3 : PluginChangelog
{
public Changelog_1_2_3(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.2.3";
public override DateTime date => new DateTime(2018, 01, 25);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Issues with SceneVariable singleton";
yield return "[Fixed] Manual events firing on idle graphs";
yield return "[Fixed] Error in scene variable value prediction from prefab graphs";
yield return "[Fixed] Typo in Create Dictionary node";
yield return "[Fixed] Manual events not firing in flow machines";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0b5002b6061e24473a0c1176f6d2b5d8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_2_4 : PluginChangelog
{
public Changelog_1_2_4(Plugin plugin) : base(plugin) { }
public override string description => null;
public override SemanticVersion version => "1.2.4";
public override DateTime date => new DateTime(2018, 02, 26);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Missing scene variable options";
yield return "[Fixed] Set scene variable causing exception";
yield return "[Changed] Coroutine runner to parent game object";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 914df55d3136f4521b58ca1e68ba06e2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_3_0 : PluginChangelog
{
public Changelog_1_3_0(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.3.0";
public override DateTime date => new DateTime(2018, 04, 06);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Unit connection preservation";
yield return "[Refactored] Unit definition error recovery";
yield return "[Refactored] Unit port description";
yield return "[Fixed] Internal KeyedCollection NullReferenceException";
yield return "[Fixed] Non-component UnityEngine.Object drag & drop";
yield return "[Added] Multiple graph outputs warning";
yield return "[Fixed] Conversion errors for missing component prediction";
yield return "[Fixed] Dictionary units not caching input";
yield return "[Fixed] Null warning for nullable value types";
yield return "[Added] Inline inspector for nullable value types";
yield return "[Fixed] Unit heading text cutoff when zoomed out";
yield return "[Fixed] CreateDictionary class name typo";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 51f3caa8a9e6f482cb251b6ff8805486
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,145 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0 : PluginChangelog
{
public Changelog_1_4_0(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0";
public override DateTime date => new DateTime(2018, 07, 13);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Coroutine flow toggle on events";
yield return "[Added] Support for wait units in loops and sequences";
yield return "[Added] Support for gizmos and in-editor events";
yield return "[Added] Local port caching";
yield return "[Added] Flow variables";
yield return "[Added] Try, Catch and Throw units";
yield return "[Added] Timer unit";
yield return "[Added] Cooldown unit";
yield return "[Added] Once unit";
yield return "[Added] Wait For Flow unit";
yield return "[Added] Select On Flow unit";
yield return "[Added] Toggle Flow and Toggle Value units";
yield return "[Added] On Animator Move and On Animator IK events";
yield return "[Added] Drag, Drop, Scroll, Move, Cancel and Submit GUI events";
yield return "[Added] Chainable option for set and invoke units";
yield return "[Added] Literal option in Unity object drag & drop";
yield return "[Optimized] Event triggering and trickling";
yield return "[Optimized] Play mode entry";
yield return "[Changed] Break Loop icon";
yield return "[Changed] Debug icon";
yield return "[Obsoleted] On Timer Elapsed event";
yield return "[Fixed] Literal failing to render missing types";
yield return "[Fixed] Missing types causing errors in the fuzzy finder";
yield return "[Fixed] Switch and other units not appearing in the fuzzy finder";
yield return "[Fixed] Various naming issues and typos in the fuzzy finder";
yield return "[Fixed] Missing GameObject from drag & drop";
yield return "[Fixed] Replaced obsolete Unity members";
yield return "[Fixed] Typo in Insert List Item";
yield return "[Fixed] Recursive value fetching analysis";
yield return "[Fixed] Adaptive field widths on literals";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0f4 : PluginChangelog
{
public Changelog_1_4_0f4(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0f4";
public override DateTime date => new DateTime(2018, 08, 02);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] GraphPointerException when using loops and sequences with super units";
yield return "[Fixed] Error when undoing events with input ports";
yield return "[Fixed] Scene references being allowed in macros via drag & drop";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0f5 : PluginChangelog
{
public Changelog_1_4_0f5(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0f5";
public override DateTime date => new DateTime(2018, 08, 14);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Generic classes of Material and Color breaking rich text";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0f6 : PluginChangelog
{
public Changelog_1_4_0f6(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0f6";
public override DateTime date => new DateTime(2018, 09, 06);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Create Struct units for default struct initializers";
yield return "[Improved] Shortened constructor units node title";
yield return "[Improved] Member unit reflection";
yield return "[Fixed] Recursion fake positive when using super units referencing the same macro";
yield return "[Fixed] Unit favorites not saving";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0f10 : PluginChangelog
{
public Changelog_1_4_0f10(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0f10";
public override DateTime date => new DateTime(2018, 10, 29);
public override IEnumerable<string> changes
{
get
{
yield return "[Changed] Stop coroutines when their parent event stops listening (to fix asynchronous transitions)";
yield return "[Fixed] Timer not assigning metrics value outputs in Started flow";
yield return "[Fixed] P/Invoke parameters marked with [Out] but without out keyword not showing on units";
yield return "[Fixed] Height not updating on literal widgets for custom property drawers";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_0f11 : PluginChangelog
{
public Changelog_1_4_0f11(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.0f11";
public override DateTime date => new DateTime(2018, 11, 08);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Formula units not caching input parameters";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e2e9bd39536a24cc7b4597a9d712cf91
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_1 : PluginChangelog
{
public Changelog_1_4_1(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.1";
public override DateTime date => new DateTime(2019, 01, 22);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Reverted Formula unit caching behaviour to 1.4.0f10";
yield return "[Added] Cache arguments option to Formula unit";
yield return "[Fixed] Issue where automated coroutine stop would error if it exited during its first frame";
yield return "[Added] Warning when a unit connection fails to get created during deserialization";
yield return "[Fixed] Bug where interned graph reference with destroyed root object would match alive reference when exiting play mode";
yield return "[Fixed] Issue where scene variable prediction would try to instantiate infinite scene variable singletons in prefab isolation stage";
yield return "[Fixed] Improved error recovery in AOT stubs lookup for Expose unit";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 559c12ac10f9d41c59ecddd2f183d7d3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_10 : PluginChangelog
{
public Changelog_1_4_10(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.10";
public override DateTime date => new DateTime(2019, 12, 13);
public override IEnumerable<string> changes
{
get
{
yield return "[Changed] Behaviour of Wait Until and Wait While unit to check the condition on their entry flow instead of creating new flows at every frame";
yield return "[Fixed] Threading exception when comparing destroyed self object on background thread in unit option tree";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 205b259773bb848f5b9140a1b8bad6df
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_2 : PluginChangelog
{
public Changelog_1_4_2(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.2";
public override DateTime date => new DateTime(2019, 04, 03);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Fixed custom unit types defined in assembly definition files not being included in unit options";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2b77970be97c9406697a53cdb575f692
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_3 : PluginChangelog
{
public Changelog_1_4_3(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.3";
public override DateTime date => new DateTime(2019, 04, 29);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Issue where literal widget failed to render when literal type had failed to deserialize";
yield return "[Fixed] Unit header text rendering by disabling word wrapping";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3587d6da02ecd4f56976a4e635866bcd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_4 : PluginChangelog
{
public Changelog_1_4_4(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.4";
public override DateTime date => new DateTime(2019, 06, 11);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Unity crash due to Mono runtime vtable issue with type unification";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 09d7acc5bdb67457ead96cda5d7e5005
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_5 : PluginChangelog
{
public Changelog_1_4_5(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.5";
public override DateTime date => new DateTime(2019, 07, 15);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Unity crash due to Mono runtime vtable issue with type unification";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fe62cdbe023904f03b225f9b246fc5f6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_6 : PluginChangelog
{
public Changelog_1_4_6(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.6";
public override DateTime date => new DateTime(2019, 08, 20);
public override IEnumerable<string> changes
{
get
{
yield return "[Added] Save Variables unit to circumvent the lack of auto-save event hooks in WebGL";
yield return "[Fixed] Port disconnection not adding an undo entry";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58cb2c4ef1dd746889c6978126ede375
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_7 : PluginChangelog
{
public Changelog_1_4_7(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.7";
public override DateTime date => new DateTime(2019, 09, 26);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Graph stack error when Timer or Cooldown exited super units";
yield return "[Optimized] Unit options building by displaying fewer progress bar updates";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f99cc5dee358b492f8b7df887ae4cfa7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_8 : PluginChangelog
{
public Changelog_1_4_8(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.8";
public override DateTime date => new DateTime(2019, 10, 28);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Memory leak in auto-stopped coroutine";
yield return "[Fixed] Memory leak when coroutine is interrupted before disposal of preserved flow stack";
}
}
}
[Plugin(BoltFlow.ID)]
internal class Changelog_1_4_8f2 : PluginChangelog
{
public Changelog_1_4_8f2(Plugin plugin) : base(plugin) { }
public override SemanticVersion version => "1.4.8f2";
public override DateTime date => new DateTime(2019, 10, 31);
public override IEnumerable<string> changes
{
get
{
yield return "[Fixed] Error when using coroutines in state transition caused by overly aggressive memory leak fix";
}
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a2de589ab38604e128d8eed8afc2d428
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0bc0e8e6daf494df5a1d72287fa3a1ae
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,18 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_0_2_to_1_0_3 : PluginMigration
{
public Migration_1_0_2_to_1_0_3(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.0.2";
public override SemanticVersion to => "1.0.3";
public override void Run()
{
RequireAction("Run the new unit options wizard from: \nTools > Bolt > Unit Options Wizard..." +
"\n\nYou will need to run it every time you change your codebase. " +
"To skip the wizard and keep the same settings, use: \nTools > Bolt > Update Unit Options");
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 895428f746d8e4997a1230d807360b94
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_1_1_to_1_1_2 : PluginMigration
{
public Migration_1_1_1_to_1_1_2(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.1.1";
public override SemanticVersion to => "1.1.2";
public override void Run()
{
// RequireAction("Update your unit options from:\nTools > Bolt > Update Unit Options");
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c3d93833b89dc446e80bc99d2a98edbb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_1_2_to_1_1_3 : PluginMigration
{
public Migration_1_1_2_to_1_1_3(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.1.2";
public override SemanticVersion to => "1.1.3";
public override void Run()
{
//UnitBase.CacheStaticOptions();
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4ae4d3f2430124e44bd5968e7d4994cf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_1_3_to_1_2_0 : PluginMigration
{
public Migration_1_1_3_to_1_2_0(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.1.3";
public override SemanticVersion to => "1.2.0";
public override void Run()
{
//UnitBase.Build();
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 689f9551b93de4e62acca93bee8b6df5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_2_0_to_1_2_2 : PluginMigration
{
public Migration_1_2_0_to_1_2_2(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.2.0";
public override SemanticVersion to => "1.2.2";
public override void Run()
{
UnitBase.Rebuild();
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c87b8c463f7214cd88f60ae3f4ab4d4f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,20 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_2_4_to_1_3_0 : PluginMigration
{
public Migration_1_2_4_to_1_3_0(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.2.4";
public override SemanticVersion to => "1.3.0";
public override void Run()
{
ScriptReferenceResolver.Run();
UnitBase.Rebuild();
RequireAction("Version 1.3 is a major refactor that changed most of the folder structure. Some manual actions may be required. See: http://bit.do/bolt-1-3");
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 67b4b452425e74ecbb80e16f8f3b7fd7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
namespace Unity.VisualScripting
{
[Plugin(BoltFlow.ID)]
internal class Migration_1_3_0_to_1_4_0 : PluginMigration
{
public Migration_1_3_0_to_1_4_0(Plugin plugin) : base(plugin) { }
public override SemanticVersion @from => "1.3.0";
public override SemanticVersion to => "1.4.0";
public override void Run()
{
UnitBase.Rebuild();
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 47dce94c9e7904b6fbac4e3f2f8a4949
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: