Browse Source

Renamed FungusVariableListAdaptor

master
chrisgregan 11 years ago
parent
commit
f9134a1d84
  1. 2
      Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs
  2. 6
      Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs
  3. 2
      Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs.meta

2
Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs

@ -78,7 +78,7 @@ namespace Fungus.Script
ReorderableListGUI.Title("Variables");
VariableListAdaptor adaptor = new VariableListAdaptor(variablesProperty, 0);
FungusVariableListAdaptor adaptor = new FungusVariableListAdaptor(variablesProperty, 0);
ReorderableListControl.DrawControlFromState(adaptor, null, ReorderableListFlags.DisableContextMenu | ReorderableListFlags.HideAddButton);
GUILayout.BeginHorizontal();

6
Assets/Fungus/Editor/FungusScript/VariableList.cs → Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs

@ -11,7 +11,7 @@ using Rotorz.ReorderableList;
namespace Fungus.Script
{
public class VariableListAdaptor : IReorderableListAdaptor
public class FungusVariableListAdaptor : IReorderableListAdaptor
{
private SerializedProperty _arrayProperty;
@ -27,7 +27,7 @@ namespace Fungus.Script
get { return _arrayProperty; }
}
public VariableListAdaptor(SerializedProperty arrayProperty, float fixedItemHeight)
public FungusVariableListAdaptor(SerializedProperty arrayProperty, float fixedItemHeight)
{
if (arrayProperty == null)
throw new ArgumentNullException("Array property was null.");
@ -38,7 +38,7 @@ namespace Fungus.Script
this.fixedItemHeight = fixedItemHeight;
}
public VariableListAdaptor(SerializedProperty arrayProperty) : this(arrayProperty, 0f)
public FungusVariableListAdaptor(SerializedProperty arrayProperty) : this(arrayProperty, 0f)
{}
public int Count

2
Assets/Fungus/Editor/FungusScript/VariableList.cs.meta → Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d73a4523e32ec485db5ced2e5d7fa9b6
guid: fbb2c72d3dd87425db85a81c77d65464
MonoImporter:
serializedVersion: 2
defaultReferences: []
Loading…
Cancel
Save