1.8.2: Fixed a couple of more issues with certain using EditorGUI.PropertyField, and removed label element from SerializeReferenceTo when used in an array
This commit is contained in:
parent
b189ec8b97
commit
61c7356b3a
5 changed files with 15 additions and 10 deletions
|
|
@ -20,9 +20,11 @@ namespace Module.Inspector.Editor
|
|||
|
||||
var rect0 = new Rect(position.x, position.y, position.width - WIDTH, position.height);
|
||||
var rect1 = new Rect(rect0.xMax, position.y, WIDTH, position.height);
|
||||
|
||||
EditorGUI.PropertyField(rect0, property, label);
|
||||
|
||||
string temp = EditorGUI.TextField(rect0, label, property.stringValue);
|
||||
|
||||
if (!temp.Equals(property.stringValue))
|
||||
property.stringValue = temp;
|
||||
|
||||
if (GUI.Button(rect1, "Go"))
|
||||
{
|
||||
string str = EditorNamingUtility.ConvertTo(att.type, property.stringValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue