diff --git a/Assets/Fungus/Docs/CHANGELOG.txt b/Assets/Fungus/Docs/CHANGELOG.txt index c178ab93..232c3146 100644 --- a/Assets/Fungus/Docs/CHANGELOG.txt +++ b/Assets/Fungus/Docs/CHANGELOG.txt @@ -3,6 +3,9 @@ Changelog {#changelog} Unreleased ====== +## Fixed + - Add missing VariableDrawer for ObjectVariable. Thanks to CG-Tespy. + ## Changed - Block will LogError when an exception is caught from a Command being Executed. diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs b/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs new file mode 100644 index 00000000..80e20eee --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +// This code is part of the Fungus library (https://github.com/snozbot/fungus) +// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) + +/*This script has been, partially or completely, generated by the Fungus.GenerateVariableWindow*/ + +using UnityEditor; + +namespace Fungus.EditorUtils +{ + [CustomPropertyDrawer(typeof(ObjectData))] + public class ObjectDataDrawer : VariableDataDrawer + { } +} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..6bdeb96d --- /dev/null +++ b/Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b11836370ad13a742b0edc98aeea22f4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: