[unity] Adjusted Spine URP Shaders package samples to split component architecture. Fixed an editor NullReferenceException at empty animations.

This commit is contained in:
Harald Csaszar 2025-10-08 23:00:51 +02:00
parent 5272bac421
commit 4f84ffbfff
5 changed files with 653 additions and 477 deletions

View File

@ -416,7 +416,7 @@ namespace Spine.Unity {
#if UNITY_EDITOR #if UNITY_EDITOR
protected void UpdatePropertyToCurrentAnimationEditor () { protected void UpdatePropertyToCurrentAnimationEditor () {
if (state.Tracks.Count == 0) if (state.Tracks.Count == 0 || state.Tracks.Items[0] == null)
return; return;
Animation currentAnimation = state.Tracks.Items[0].Animation; Animation currentAnimation = state.Tracks.Items[0].Animation;
animationName = currentAnimation == null ? "<None>" : currentAnimation.Name; animationName = currentAnimation == null ? "<None>" : currentAnimation.Name;

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0} m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4 m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0} m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1 m_UseShadowmask: 0
--- !u!196 &4 --- !u!196 &4
NavMeshSettings: NavMeshSettings:
serializedVersion: 2 serializedVersion: 2
@ -133,6 +133,7 @@ GameObject:
- component: {fileID: 100024095} - component: {fileID: 100024095}
- component: {fileID: 100024094} - component: {fileID: 100024094}
- component: {fileID: 100024093} - component: {fileID: 100024093}
- component: {fileID: 100024097}
m_Layer: 0 m_Layer: 0
m_Name: Spine GameObject (stretchyman) 2 m_Name: Spine GameObject (stretchyman) 2
m_TagString: Untagged m_TagString: Untagged
@ -152,30 +153,33 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3} m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3, type: 2} updateTiming: 1
initialSkinName: threadedAnimation: 2
initialFlipX: 0 isUpdatedExternally: 0
initialFlipY: 0 animationName:
separatorSlotNames: []
zSpacing: 0
useClipping: 1
immutableTriangles: 0
pmaVertexColors: 1
clearStateOnDisable: 0
tintBlack: 0
singleSubmesh: 0
fixDrawOrder: 0
addNormals: 0
calculateTangents: 1
maskInteraction: 0
maskMaterials:
materialsMaskDisabled: []
materialsInsideMask: []
materialsOutsideMask: []
disableRenderingOnOverride: 1
_animationName:
loop: 1 loop: 1
timeScale: 0.5 timeScale: 0.5
unscaledTime: 0
wasDeprecatedTransferred: 1
skeletonDataAssetDeprecated: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3,
type: 2}
initialSkinNameDeprecated:
editorSkipSkinSyncDeprecated: 0
initialFlipXDeprecated: 0
initialFlipYDeprecated: 0
updateModeDeprecated: 3
updateWhenInvisibleDeprecated: 3
separatorSlotNamesDeprecated: []
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
clearStateOnDisableDeprecated: 0
tintBlackDeprecated: 0
singleSubmeshDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 1
maskInteractionDeprecated: 0
--- !u!23 &100024094 --- !u!23 &100024094
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -237,6 +241,52 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100024097
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100024092}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e075b9a3e08e2f74fbd651c858ab16ed, type: 3}
m_Name:
m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3, type: 2}
initialSkinName:
initialFlipX: 0
initialFlipY: 0
meshSettings:
useClipping: 1
zSpacing: 0
tintBlack: 0
canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 1
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0
separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0
fixDrawOrder: 0
maskInteraction: 0
fixPrefabOverrideViaMeshFilter: 2
wasDeprecatedTransferred: 1
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
--- !u!1 &117907670 --- !u!1 &117907670
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -583,7 +633,6 @@ MonoBehaviour:
m_FallbackScreenDPI: 96 m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96 m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1 m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &680384998 --- !u!223 &680384998
Canvas: Canvas:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -732,7 +781,6 @@ MonoBehaviour:
m_RequiresDepthTextureOption: 2 m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2 m_RequiresOpaqueTextureOption: 2
m_CameraType: 0 m_CameraType: 0
m_CameraOutput: 0
m_Cameras: [] m_Cameras: []
m_RendererIndex: 0 m_RendererIndex: 0
m_VolumeLayerMask: m_VolumeLayerMask:
@ -744,6 +792,7 @@ MonoBehaviour:
m_AntialiasingQuality: 2 m_AntialiasingQuality: 2
m_StopNaN: 0 m_StopNaN: 0
m_Dithering: 0 m_Dithering: 0
m_ClearDepth: 1
m_RequiresDepthTexture: 0 m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0 m_RequiresColorTexture: 0
m_Version: 2 m_Version: 2
@ -1017,7 +1066,6 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1068,6 +1116,7 @@ GameObject:
- component: {fileID: 1489880316} - component: {fileID: 1489880316}
- component: {fileID: 1489880315} - component: {fileID: 1489880315}
- component: {fileID: 1489880314} - component: {fileID: 1489880314}
- component: {fileID: 1489880318}
m_Layer: 0 m_Layer: 0
m_Name: Spine GameObject (raptor-pro) m_Name: Spine GameObject (raptor-pro)
m_TagString: Untagged m_TagString: Untagged
@ -1087,30 +1136,33 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3} m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: d67c9e96f4d7b0a4a8f01fdce75b755d, type: 2} updateTiming: 1
initialSkinName: threadedAnimation: 2
initialFlipX: 1 isUpdatedExternally: 0
initialFlipY: 0 animationName: roar
separatorSlotNames: []
zSpacing: 0
useClipping: 1
immutableTriangles: 0
pmaVertexColors: 1
clearStateOnDisable: 0
tintBlack: 0
singleSubmesh: 0
fixDrawOrder: 0
addNormals: 0
calculateTangents: 0
maskInteraction: 0
maskMaterials:
materialsMaskDisabled: []
materialsInsideMask: []
materialsOutsideMask: []
disableRenderingOnOverride: 1
_animationName: roar
loop: 1 loop: 1
timeScale: 1 timeScale: 1
unscaledTime: 0
wasDeprecatedTransferred: 1
skeletonDataAssetDeprecated: {fileID: 11400000, guid: d67c9e96f4d7b0a4a8f01fdce75b755d,
type: 2}
initialSkinNameDeprecated:
editorSkipSkinSyncDeprecated: 0
initialFlipXDeprecated: 1
initialFlipYDeprecated: 0
updateModeDeprecated: 3
updateWhenInvisibleDeprecated: 3
separatorSlotNamesDeprecated: []
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
clearStateOnDisableDeprecated: 0
tintBlackDeprecated: 0
singleSubmeshDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
maskInteractionDeprecated: 0
--- !u!23 &1489880315 --- !u!23 &1489880315
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1172,6 +1224,52 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1489880318
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1489880313}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e075b9a3e08e2f74fbd651c858ab16ed, type: 3}
m_Name:
m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: d67c9e96f4d7b0a4a8f01fdce75b755d, type: 2}
initialSkinName:
initialFlipX: 1
initialFlipY: 0
meshSettings:
useClipping: 1
zSpacing: 0
tintBlack: 0
canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 0
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0
separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0
fixDrawOrder: 0
maskInteraction: 0
fixPrefabOverrideViaMeshFilter: 2
wasDeprecatedTransferred: 1
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
--- !u!1 &1539523631 --- !u!1 &1539523631
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1184,6 +1282,7 @@ GameObject:
- component: {fileID: 1539523634} - component: {fileID: 1539523634}
- component: {fileID: 1539523633} - component: {fileID: 1539523633}
- component: {fileID: 1539523632} - component: {fileID: 1539523632}
- component: {fileID: 1539523636}
m_Layer: 0 m_Layer: 0
m_Name: Spine GameObject (stretchyman) m_Name: Spine GameObject (stretchyman)
m_TagString: Untagged m_TagString: Untagged
@ -1203,30 +1302,33 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3} m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3, type: 2} updateTiming: 1
initialSkinName: threadedAnimation: 2
initialFlipX: 0 isUpdatedExternally: 0
initialFlipY: 0 animationName: sneak
separatorSlotNames: []
zSpacing: 0
useClipping: 1
immutableTriangles: 0
pmaVertexColors: 1
clearStateOnDisable: 0
tintBlack: 0
singleSubmesh: 0
fixDrawOrder: 0
addNormals: 0
calculateTangents: 1
maskInteraction: 0
maskMaterials:
materialsMaskDisabled: []
materialsInsideMask: []
materialsOutsideMask: []
disableRenderingOnOverride: 1
_animationName: sneak
loop: 1 loop: 1
timeScale: 0.5 timeScale: 0.5
unscaledTime: 0
wasDeprecatedTransferred: 1
skeletonDataAssetDeprecated: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3,
type: 2}
initialSkinNameDeprecated:
editorSkipSkinSyncDeprecated: 0
initialFlipXDeprecated: 0
initialFlipYDeprecated: 0
updateModeDeprecated: 3
updateWhenInvisibleDeprecated: 3
separatorSlotNamesDeprecated: []
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
clearStateOnDisableDeprecated: 0
tintBlackDeprecated: 0
singleSubmeshDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 1
maskInteractionDeprecated: 0
--- !u!23 &1539523633 --- !u!23 &1539523633
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1288,6 +1390,52 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1539523636
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1539523631}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e075b9a3e08e2f74fbd651c858ab16ed, type: 3}
m_Name:
m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 809479298965dd14abffeeb0844d7fc3, type: 2}
initialSkinName:
initialFlipX: 0
initialFlipY: 0
meshSettings:
useClipping: 1
zSpacing: 0
tintBlack: 0
canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 1
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0
separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0
fixDrawOrder: 0
maskInteraction: 0
fixPrefabOverrideViaMeshFilter: 2
wasDeprecatedTransferred: 1
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
--- !u!1 &1540548735 --- !u!1 &1540548735
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -314,6 +314,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -398,6 +399,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.5943396, g: 0.5943396, b: 0.5943396, a: 1} m_Color: {r: 0.5943396, g: 0.5943396, b: 0.5943396, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -630,23 +632,36 @@ MonoBehaviour:
initialSkinName: default initialSkinName: default
initialFlipX: 0 initialFlipX: 0
initialFlipY: 0 initialFlipY: 0
separatorSlotNames: [] meshSettings:
zSpacing: 0 useClipping: 1
useClipping: 1 zSpacing: 0
immutableTriangles: 0 tintBlack: 0
pmaVertexColors: 1 canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 1
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0 clearStateOnDisable: 0
tintBlack: 0 separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0 singleSubmesh: 0
fixDrawOrder: 0 fixDrawOrder: 0
addNormals: 0
calculateTangents: 1
maskInteraction: 0 maskInteraction: 0
maskMaterials: fixPrefabOverrideViaMeshFilter: 2
materialsMaskDisabled: [] wasDeprecatedTransferred: 1
materialsInsideMask: [] zSpacingDeprecated: 0
materialsOutsideMask: [] useClippingDeprecated: 1
disableRenderingOnOverride: 1 immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 1
--- !u!23 &933136135 --- !u!23 &933136135
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1025,6 +1040,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.6603774, g: 0.6603774, b: 0.6603774, a: 1} m_Color: {r: 0.6603774, g: 0.6603774, b: 0.6603774, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -1172,6 +1188,7 @@ GameObject:
- component: {fileID: 1389528815} - component: {fileID: 1389528815}
- component: {fileID: 1389528814} - component: {fileID: 1389528814}
- component: {fileID: 1389528813} - component: {fileID: 1389528813}
- component: {fileID: 1389528817}
m_Layer: 0 m_Layer: 0
m_Name: raptor m_Name: raptor
m_TagString: Untagged m_TagString: Untagged
@ -1191,30 +1208,33 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3} m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 83b868dae6d9ae34397e35d6f29e926b, type: 2} updateTiming: 1
initialSkinName: threadedAnimation: 2
initialFlipX: 1 isUpdatedExternally: 0
initialFlipY: 0 animationName: roar
separatorSlotNames: []
zSpacing: 0
useClipping: 1
immutableTriangles: 0
pmaVertexColors: 1
clearStateOnDisable: 0
tintBlack: 0
singleSubmesh: 0
fixDrawOrder: 0
addNormals: 0
calculateTangents: 0
maskInteraction: 0
maskMaterials:
materialsMaskDisabled: []
materialsInsideMask: []
materialsOutsideMask: []
disableRenderingOnOverride: 1
_animationName: roar
loop: 1 loop: 1
timeScale: 1 timeScale: 1
unscaledTime: 0
wasDeprecatedTransferred: 1
skeletonDataAssetDeprecated: {fileID: 11400000, guid: 83b868dae6d9ae34397e35d6f29e926b,
type: 2}
initialSkinNameDeprecated:
editorSkipSkinSyncDeprecated: 0
initialFlipXDeprecated: 1
initialFlipYDeprecated: 0
updateModeDeprecated: 3
updateWhenInvisibleDeprecated: 3
separatorSlotNamesDeprecated: []
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
clearStateOnDisableDeprecated: 0
tintBlackDeprecated: 0
singleSubmeshDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
maskInteractionDeprecated: 0
--- !u!23 &1389528814 --- !u!23 &1389528814
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1276,6 +1296,52 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: -14.087001, z: 0} m_LocalEulerAnglesHint: {x: 0, y: -14.087001, z: 0}
--- !u!114 &1389528817
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1389528812}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e075b9a3e08e2f74fbd651c858ab16ed, type: 3}
m_Name:
m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 83b868dae6d9ae34397e35d6f29e926b, type: 2}
initialSkinName:
initialFlipX: 1
initialFlipY: 0
meshSettings:
useClipping: 1
zSpacing: 0
tintBlack: 0
canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 0
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0
separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0
fixDrawOrder: 0
maskInteraction: 0
fixPrefabOverrideViaMeshFilter: 2
wasDeprecatedTransferred: 1
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
--- !u!1 &1443231422 --- !u!1 &1443231422
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1436,6 +1502,7 @@ GameObject:
- component: {fileID: 1628453472} - component: {fileID: 1628453472}
- component: {fileID: 1628453471} - component: {fileID: 1628453471}
- component: {fileID: 1628453475} - component: {fileID: 1628453475}
- component: {fileID: 1628453476}
m_Layer: 0 m_Layer: 0
m_Name: stretchyman animated m_Name: stretchyman animated
m_TagString: Untagged m_TagString: Untagged
@ -1455,30 +1522,33 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3} m_Script: {fileID: 11500000, guid: d247ba06193faa74d9335f5481b2b56c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 4e2ecc2a9b955f343964c702e58dcb53, type: 2} updateTiming: 1
initialSkinName: default threadedAnimation: 2
initialFlipX: 0 isUpdatedExternally: 0
initialFlipY: 0 animationName: sneak
separatorSlotNames: []
zSpacing: 0
useClipping: 1
immutableTriangles: 0
pmaVertexColors: 1
clearStateOnDisable: 0
tintBlack: 0
singleSubmesh: 0
fixDrawOrder: 0
addNormals: 0
calculateTangents: 1
maskInteraction: 0
maskMaterials:
materialsMaskDisabled: []
materialsInsideMask: []
materialsOutsideMask: []
disableRenderingOnOverride: 1
_animationName: sneak
loop: 1 loop: 1
timeScale: 0.25 timeScale: 0.25
unscaledTime: 0
wasDeprecatedTransferred: 1
skeletonDataAssetDeprecated: {fileID: 11400000, guid: 4e2ecc2a9b955f343964c702e58dcb53,
type: 2}
initialSkinNameDeprecated: default
editorSkipSkinSyncDeprecated: 0
initialFlipXDeprecated: 0
initialFlipYDeprecated: 0
updateModeDeprecated: 3
updateWhenInvisibleDeprecated: 3
separatorSlotNamesDeprecated: []
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
clearStateOnDisableDeprecated: 0
tintBlackDeprecated: 0
singleSubmeshDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 1
maskInteractionDeprecated: 0
--- !u!23 &1628453472 --- !u!23 &1628453472
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1551,6 +1621,52 @@ SortingGroup:
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
--- !u!114 &1628453476
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1628453470}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e075b9a3e08e2f74fbd651c858ab16ed, type: 3}
m_Name:
m_EditorClassIdentifier:
skeletonDataAsset: {fileID: 11400000, guid: 4e2ecc2a9b955f343964c702e58dcb53, type: 2}
initialSkinName: default
initialFlipX: 0
initialFlipY: 0
meshSettings:
useClipping: 1
zSpacing: 0
tintBlack: 0
canvasGroupCompatible: 0
pmaVertexColors: 1
addNormals: 0
calculateTangents: 1
immutableTriangles: 0
updateWhenInvisible: 3
clearStateOnDisable: 0
separatorSlotNames: []
enableSeparatorSlots: 0
disableRenderingOnOverride: 1
physicsPositionInheritanceFactor: {x: 1, y: 1}
physicsRotationInheritanceFactor: 1
physicsMovementRelativeTo: {fileID: 0}
threadedMeshGeneration: 2
singleSubmesh: 0
fixDrawOrder: 0
maskInteraction: 0
fixPrefabOverrideViaMeshFilter: 2
wasDeprecatedTransferred: 1
zSpacingDeprecated: 0
useClippingDeprecated: 1
immutableTrianglesDeprecated: 0
pmaVertexColorsDeprecated: 1
tintBlackDeprecated: 0
addNormalsDeprecated: 0
calculateTangentsDeprecated: 0
--- !u!1 &1667748200 --- !u!1 &1667748200
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1603,7 +1719,6 @@ MonoBehaviour:
m_RequiresDepthTextureOption: 2 m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2 m_RequiresOpaqueTextureOption: 2
m_CameraType: 0 m_CameraType: 0
m_CameraOutput: 0
m_Cameras: [] m_Cameras: []
m_RendererIndex: 0 m_RendererIndex: 0
m_VolumeLayerMask: m_VolumeLayerMask:
@ -1615,6 +1730,7 @@ MonoBehaviour:
m_AntialiasingQuality: 2 m_AntialiasingQuality: 2
m_StopNaN: 0 m_StopNaN: 0
m_Dithering: 0 m_Dithering: 0
m_ClearDepth: 1
m_RequiresDepthTexture: 0 m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0 m_RequiresColorTexture: 0
m_Version: 2 m_Version: 2
@ -1709,7 +1825,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.24350001, y: 0} m_AnchorMin: {x: 0.24350001, y: 0}
m_AnchorMax: {x: 0.83025014, y: 0.112} m_AnchorMax: {x: 0.83025014, y: 0.112}
m_AnchoredPosition: {x: -1.2700195, y: -4} m_AnchoredPosition: {x: -1.2700195, y: -4.000061}
m_SizeDelta: {x: -1.5, y: 6} m_SizeDelta: {x: -1.5, y: 6}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1975175690 --- !u!114 &1975175690
@ -1727,6 +1843,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []

View File

@ -1,8 +1,8 @@
{ {
"name": "com.esotericsoftware.spine.urp-shaders", "name": "com.esotericsoftware.spine.urp-shaders",
"displayName": "Spine Universal RP Shaders", "displayName": "Spine Universal RP Shaders",
"description": "This plugin provides universal render pipeline (URP) shaders for the spine-unity runtime.\n\nPrerequisites:\nIt requires a working installation of the spine-unity runtime, version 4.3.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)", "description": "This plugin provides universal render pipeline (URP) shaders for the spine-unity runtime.\n\nPrerequisites:\nIt requires a working installation of the spine-unity runtime, version 4.3.20 or newer.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
"version": "4.3.3", "version": "4.3.20",
"unity": "2019.3", "unity": "2019.3",
"author": { "author": {
"name": "Esoteric Software", "name": "Esoteric Software",