Browse Source

Merge pull request #894 from CG-Tespy/_addMissingPropertyDrawers

Add missing Object property drawers
Update ChangeLog
master
Steve Halliwell 4 years ago
parent
commit
579f64e099
  1. 3
      Assets/Fungus/Docs/CHANGELOG.txt
  2. 13
      Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs
  3. 11
      Assets/Fungus/Scripts/Editor/VariableTypes/ObjectVariableDrawer.cs.meta

3
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.

13
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<ObjectVariable>
{ }
}

11
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:
Loading…
Cancel
Save