mirror of
				https://github.com/maxartz15/VertexAnimation.git
				synced 2025-11-04 10:25:44 +01:00 
			
		
		
		
	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:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user