Skip to content

Commit

Permalink
fix: charがリセットされた際にはcharが消えないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
pspkurara committed Sep 14, 2020
1 parent c419076 commit c1b1454
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public void DrawInspector(EditorSkinPartsPropertry property)
if (str.Length > 0) str = str[0].ToString();
var resultStr = EditorGUILayout.TextField(v.DisplayName, str);
if (resultStr.Length > 0) resultStr = resultStr[0].ToString();
else resultStr = str;
element.stringValue = resultStr;
}
break;
Expand Down

0 comments on commit c1b1454

Please sign in to comment.