protected override void CleanupFieldsOtherThanObjectReference(EditorSkinPartsPropertryWithoutObjectReference property)
 {
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues, OutlineColor.ColorLength);
     SkinnerEditorUtility.CleanArray(property.floatValues);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }
 protected override void CleanupFieldsOtherThanObjectReference(EditorSkinPartsPropertryWithoutObjectReference property)
 {
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues);
     SkinnerEditorUtility.CleanArray(property.floatValues);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values, TransformRotation.VectorLength, Vector3.one);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }
 public void CleanupFields(EditorSkinPartsPropertry property)
 {
     SkinnerEditorUtility.CleanArray(property.objectReferenceValues, ImageSprite.ObjectLength);
     SkinnerEditorUtility.CleanObject <Image>(property.objectReferenceValues, ImageSprite.ImageIndex);
     SkinnerEditorUtility.CleanObject <Sprite>(property.objectReferenceValues, ImageSprite.SpriteIndex);
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues);
     SkinnerEditorUtility.CleanArray(property.floatValues);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }
 public void CleanupFields(EditorSkinPartsPropertry property)
 {
     SkinnerEditorUtility.CleanArray(property.objectReferenceValues, GraphicMaterial.ObjectLength);
     SkinnerEditorUtility.CleanObject <Graphic>(property.objectReferenceValues, GraphicMaterial.GraphicIndex);
     SkinnerEditorUtility.CleanObject <Material>(property.objectReferenceValues, GraphicMaterial.MaterialIndex);
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues);
     SkinnerEditorUtility.CleanArray(property.floatValues);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }
Exemple #5
0
 public void CleanupFields(EditorSkinPartsPropertry property)
 {
     SkinnerEditorUtility.CleanArray(property.objectReferenceValues, RawImageTexture.ObjectLength);
     SkinnerEditorUtility.CleanObject <RawImage>(property.objectReferenceValues, RawImageTexture.RawImageIndex);
     SkinnerEditorUtility.CleanObject <Texture2D>(property.objectReferenceValues, RawImageTexture.Texture2DIndex);
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues);
     SkinnerEditorUtility.CleanArray(property.floatValues);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }
 public void CleanupFields(EditorSkinPartsPropertry property)
 {
     SkinnerEditorUtility.CleanArray(property.objectReferenceValues, AnimationSample.ObjectLength);
     SkinnerEditorUtility.CleanObject <GameObject>(property.objectReferenceValues, AnimationSample.GameObjectIndex);
     SkinnerEditorUtility.CleanObject <AnimationClip>(property.objectReferenceValues, AnimationSample.AnimationClipIndex);
     SkinnerEditorUtility.CleanArray(property.boolValues);
     SkinnerEditorUtility.CleanArray(property.colorValues);
     SkinnerEditorUtility.CleanArray(property.floatValues, AnimationSample.FloatLength);
     SkinnerEditorUtility.CleanArray(property.intValues);
     SkinnerEditorUtility.CleanArray(property.vector4Values);
     SkinnerEditorUtility.CleanArray(property.stringValues);
 }