Package.json

Package.json deps.
More texture checks.
Upgrade project to 2020.2.
NOTE: Only works in editor.
TODO: Save generated data in editor time.
This commit is contained in:
max
2020-12-21 03:21:51 +01:00
parent bc3ba09f92
commit 952c1862be
15 changed files with 224 additions and 213 deletions

View File

@ -179,7 +179,9 @@ namespace TAO.VertexAnimation.Editor
if (GUILayout.Button("auto fill", EditorStyles.miniButton))
{
Undo.RecordObject(animationBook, "AutoFill");
animationBook.AutoFill();
EditorUtility.SetDirty(animationBook);
}
}
}
@ -205,10 +207,7 @@ namespace TAO.VertexAnimation.Editor
using (new EditorGUI.DisabledScope(true))
{
for (int t = 0; t < texture2DArray.arraySize; t++)
{
EditorGUILayout.PropertyField(texture2DArray.GetArrayElementAtIndex(t), GUIContent.none);
}
EditorGUILayout.PropertyField(texture2DArray);
}
previewIndex = EditorGUILayout.IntSlider("Preview" ,previewIndex, 0, texture2DArray.arraySize - 1);