Skip to content

Commit

Permalink
Tweak names before release
Browse files Browse the repository at this point in the history
  • Loading branch information
hai-vr committed Mar 26, 2024
1 parent b45acf5 commit 1308e89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ public class PrefabulousHaiConvertBlendshapeConventions : MonoBehaviour, IEditor
public SkinnedMeshRenderer[] renderers;

[TextArea]
public string keyValueStore;
public string keyValueMapping;
public string keyValueSeparator = "=";
public bool reverse;

public Dictionary<string, string> ParseMapping()
{
var store = keyValueStore ?? "";
var store = keyValueMapping ?? "";

var mapping = new Dictionary<string, string>();
var lines = store.Split("\n").Where(s => !string.IsNullOrWhiteSpace(s));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override void OnInspectorGUI()
EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiConvertBlendshapeConventions.renderers)));
}

EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiConvertBlendshapeConventions.keyValueStore)));
EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiConvertBlendshapeConventions.keyValueMapping)));
EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiConvertBlendshapeConventions.keyValueSeparator)));
if (GUILayout.Button(UseTabAsSeparatorLabel))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public override void OnInspectorGUI()
var replacementsProperty = serializedObject.FindProperty(nameof(PrefabulousHaiReplaceTextures.replacements));
EditorGUILayout.PropertyField(replacementsProperty, new GUIContent("Replacements"));

EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiReplaceTextures.executeInPlayMode)), new GUIContent("(DANGER) Execute in Play Mode"));
EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(PrefabulousHaiReplaceTextures.executeInPlayMode)), new GUIContent("Execute in Play Mode"));
EditorGUILayout.HelpBox(@"If you choose to execute Replace Textures in Play Mode, it can be tremendously confusing for your workflow as you will no longer be able to edit the materials of your avatar while in Play Mode.
For this reason, it is NOT recommended to execute this component in Play Mode. Replace Textures will always be executed when building your avatar for upload, or when baking your avatar.", MessageType.Warning);
Expand Down

0 comments on commit 1308e89

Please sign in to comment.