Open arnaud-jamin opened 6 years ago
I have limited time to work on this repo, but this is a legitimate issue. I'll see if I can address this when I have time to work on it.
I'm having the same issue. To circumvent it for now you need to change the following in ReorderableArrayInspector.cs (~line 733):
bool isStartProp = targetProp.propertyPath.StartsWith("m_");
using (new EditorGUI.DisabledScope(isStartProp))
{
EditorGUILayout.PropertyField(targetProp, targetProp.isExpanded);
}
to
bool isStartProp = false;
using (new EditorGUI.DisabledScope(isStartProp))
{
EditorGUILayout.PropertyField(targetProp, targetProp.isExpanded);
}
I'm not sure why this code is here, but it doesn't seem to affect anything by making this change.
Hello,
Nice library. It seems to work fine on most cases but I encounter an issue making all the other fields readonly:![image](https://user-images.githubusercontent.com/13844285/41203893-70f6f820-6cab-11e8-93ca-8cdf4bcff94f.png)
When I remove the reoderable attribute the fields become enabled:![image](https://user-images.githubusercontent.com/13844285/41203909-960912f6-6cab-11e8-8e55-dd1de4d618eb.png)
My class is a scriptable object:
I tried uncommenting this, but it has no effect
#define EDIT_ALL_SCRIPTABLES
Thanks!