spine
@ -17,6 +17,8 @@ MonoBehaviour:
|
||||
defaultShader: Spine/Skeleton
|
||||
defaultZSpacing: 0
|
||||
defaultInstantiateLoop: 1
|
||||
defaultPhysicsPositionInheritance: {x: 1, y: 1}
|
||||
defaultPhysicsRotationInheritance: 1
|
||||
showHierarchyIcons: 1
|
||||
reloadAfterPlayMode: 1
|
||||
setTextureImporterSettings: 1
|
||||
@ -33,4 +35,5 @@ MonoBehaviour:
|
||||
autoReloadSceneSkeletons: 1
|
||||
handleScale: 1
|
||||
mecanimEventIncludeFolderName: 1
|
||||
timelineDefaultMixDuration: 0
|
||||
timelineUseBlendDuration: 1
|
||||
|
||||
@ -141,13 +141,13 @@ namespace Spine.Unity.Examples {
|
||||
|
||||
if (trackEntry != null) {
|
||||
if (control.useCustomMixDuration)
|
||||
trackEntry.MixDuration = control.mixDuration;
|
||||
trackEntry.SetMixDuration(control.mixDuration, 0f); // use SetMixDuration(mixDuration, delay) to update delay correctly
|
||||
|
||||
if (useOverrideAttachmentThreshold)
|
||||
trackEntry.AttachmentThreshold = attachmentThreshold;
|
||||
trackEntry.MixAttachmentThreshold = attachmentThreshold;
|
||||
|
||||
if (useOverrideDrawOrderThreshold)
|
||||
trackEntry.DrawOrderThreshold = drawOrderThreshold;
|
||||
trackEntry.MixDrawOrderThreshold = drawOrderThreshold;
|
||||
}
|
||||
|
||||
// Don't parse more than one animation per track.
|
||||
|
||||
@ -13,7 +13,7 @@ OcclusionCullingSettings:
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 8
|
||||
serializedVersion: 10
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
@ -39,37 +39,33 @@ RenderSettings:
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 11
|
||||
m_GIWorkflowMode: 1
|
||||
serializedVersion: 12
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_TemporalCoherenceThreshold: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 9
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_TextureWidth: 1024
|
||||
m_TextureHeight: 1024
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 0
|
||||
@ -77,23 +73,34 @@ LightmapSettings:
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 500
|
||||
m_PVRBounces: 2
|
||||
m_PVRFiltering: 0
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVREnvironmentSampleCount: 500
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousColorSigma: 1
|
||||
m_PVRFilteringAtrousNormalSigma: 1
|
||||
m_PVRFilteringAtrousPositionSigma: 1
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_UseShadowmask: 1
|
||||
m_LightingSettings: {fileID: 1506007501}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 2
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
@ -106,20 +113,25 @@ NavMeshSettings:
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
accuratePlacement: 0
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &92207858
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
serializedVersion: 5
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 92207862}
|
||||
- component: {fileID: 92207861}
|
||||
- component: {fileID: 92207860}
|
||||
m_Layer: 5
|
||||
m_Name: 3 Canvas - Spawn SkeletonGraphic Sample
|
||||
m_Name: 2 Canvas - Spawn SkeletonGraphic Sample
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -128,12 +140,13 @@ GameObject:
|
||||
--- !u!114 &92207860
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 92207858}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
@ -146,11 +159,13 @@ MonoBehaviour:
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &92207861
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 92207858}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
@ -162,35 +177,122 @@ Canvas:
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!224 &92207862
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 92207858}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1691562007}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1 &191860306
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 191860307}
|
||||
- component: {fileID: 191860309}
|
||||
- component: {fileID: 191860308}
|
||||
m_Layer: 0
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &191860307
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 191860306}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1200587070}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!114 &191860308
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 191860306}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &191860309
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 191860306}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!1 &433620963
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
serializedVersion: 5
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 433620968}
|
||||
- component: {fileID: 433620967}
|
||||
@ -206,27 +308,44 @@ GameObject:
|
||||
--- !u!81 &433620964
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 433620963}
|
||||
m_Enabled: 1
|
||||
--- !u!124 &433620965
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 433620963}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &433620967
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 433620963}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
@ -248,35 +367,38 @@ Camera:
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
m_StereoMirrorMode: 0
|
||||
--- !u!4 &433620968
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 433620963}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &651278528
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
serializedVersion: 5
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 651278530}
|
||||
- component: {fileID: 651278529}
|
||||
m_Layer: 0
|
||||
m_Name: 2 RuntimeLoadFromExports
|
||||
m_Name: 3 RuntimeLoadFromExports
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -285,8 +407,9 @@ GameObject:
|
||||
--- !u!114 &651278529
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 651278528}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
@ -297,27 +420,251 @@ MonoBehaviour:
|
||||
atlasText: {fileID: 4900000, guid: 5c0a5c36970a46e4d8378760ab4a4cfc, type: 3}
|
||||
textures:
|
||||
- {fileID: 2800000, guid: 49bb65eefe08e424bbf7a38bc98ec638, type: 3}
|
||||
materialPropertySource: {fileID: 2100000, guid: 1455e88fdb81ccc45bdeaedd657bad4d,
|
||||
type: 2}
|
||||
materialPropertySource: {fileID: 2100000, guid: 1455e88fdb81ccc45bdeaedd657bad4d, type: 2}
|
||||
delay: 0
|
||||
skinName:
|
||||
animationName:
|
||||
blendModeMaterials: 0
|
||||
applyAdditiveMaterial: 0
|
||||
blendModeTemplateMaterials:
|
||||
additiveTemplate: {fileID: 0}
|
||||
multiplyTemplate: {fileID: 0}
|
||||
screenTemplate: {fileID: 0}
|
||||
graphicBlendModeMaterials:
|
||||
additiveTemplate: {fileID: 0}
|
||||
multiplyTemplate: {fileID: 0}
|
||||
screenTemplate: {fileID: 0}
|
||||
skeletonGraphicMaterial: {fileID: 2100000, guid: b66cf7a186d13054989b33a5c90044e4, type: 2}
|
||||
--- !u!4 &651278530
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 651278528}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1025308469}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1025308468
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1025308469}
|
||||
- component: {fileID: 1025308472}
|
||||
- component: {fileID: 1025308471}
|
||||
m_Layer: 0
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1025308469
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1025308468}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 651278530}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!114 &1025308471
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1025308468}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &1025308472
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1025308468}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!1 &1200587068
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1200587070}
|
||||
- component: {fileID: 1200587069}
|
||||
m_Layer: 0
|
||||
m_Name: 4 Runtime BlendModes from Exports
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1200587069
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1200587068}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: bb0837af7345d504db63d0c662fd12dc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
skeletonJson: {fileID: 4900000, guid: 1a6f51aad0fef5a40aeedfeec5c0b8b2, type: 3}
|
||||
atlasText: {fileID: 4900000, guid: 188756a89517d7649a67fb53606220f5, type: 3}
|
||||
textures:
|
||||
- {fileID: 2800000, guid: dc1b9f9665c8aa74799404a1d2038e3d, type: 3}
|
||||
materialPropertySource: {fileID: 2100000, guid: 1455e88fdb81ccc45bdeaedd657bad4d, type: 2}
|
||||
delay: 0
|
||||
skinName:
|
||||
animationName:
|
||||
blendModeMaterials: 1
|
||||
applyAdditiveMaterial: 0
|
||||
blendModeTemplateMaterials:
|
||||
additiveTemplate: {fileID: 2100000, guid: 4deba332d47209e4780b3c5fcf0e3745, type: 2}
|
||||
multiplyTemplate: {fileID: 2100000, guid: 53bf0ab317d032d418cf1252d68f51df, type: 2}
|
||||
screenTemplate: {fileID: 2100000, guid: 73f0f46d3177c614baf0fa48d646a9be, type: 2}
|
||||
graphicBlendModeMaterials:
|
||||
additiveTemplate: {fileID: 2100000, guid: 2e8245019faeb8c43b75f9ca3ac8ee34, type: 2}
|
||||
multiplyTemplate: {fileID: 2100000, guid: e74a1f8978a7da348a721508d0d58834, type: 2}
|
||||
screenTemplate: {fileID: 2100000, guid: bab24c479f34eec45be6ea8595891569, type: 2}
|
||||
skeletonGraphicMaterial: {fileID: 2100000, guid: b66cf7a186d13054989b33a5c90044e4, type: 2}
|
||||
--- !u!4 &1200587070
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1200587068}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 191860307}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!850595691 &1506007501
|
||||
LightingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Settings.lighting
|
||||
serializedVersion: 8
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_RealtimeEnvironmentLighting: 1
|
||||
m_BounceScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_UsingShadowmask: 1
|
||||
m_BakeBackend: 1
|
||||
m_LightmapMaxSize: 1024
|
||||
m_LightmapSizeFixed: 0
|
||||
m_UseMipmapLimits: 1
|
||||
m_BakeResolution: 40
|
||||
m_Padding: 2
|
||||
m_LightmapCompression: 3
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAO: 0
|
||||
m_MixedBakeMode: 2
|
||||
m_LightmapsBakeMode: 1
|
||||
m_FilterMode: 1
|
||||
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_RealtimeResolution: 2
|
||||
m_ForceWhiteAlbedo: 0
|
||||
m_ForceUpdates: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVREnvironmentSampleCount: 512
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_PVRBounces: 2
|
||||
m_PVRMinBounces: 2
|
||||
m_PVREnvironmentImportanceSampling: 0
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_RespectSceneVisibilityWhenBakingGI: 0
|
||||
--- !u!1 &1691562006
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
serializedVersion: 5
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1691562007}
|
||||
- component: {fileID: 1691562008}
|
||||
@ -331,15 +678,16 @@ GameObject:
|
||||
--- !u!224 &1691562007
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1691562006}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 92207862}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
@ -349,8 +697,9 @@ RectTransform:
|
||||
--- !u!114 &1691562008
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1691562006}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
@ -360,14 +709,14 @@ MonoBehaviour:
|
||||
skeletonDataAsset: {fileID: 11400000, guid: a467507a4ffb1d542a558739b2fede77, type: 2}
|
||||
startingAnimation: run
|
||||
startingSkin: base
|
||||
skeletonGraphicMaterial: {fileID: 2100000, guid: 1455e88fdb81ccc45bdeaedd657bad4d,
|
||||
type: 2}
|
||||
skeletonGraphicMaterial: {fileID: 2100000, guid: b66cf7a186d13054989b33a5c90044e4, type: 2}
|
||||
--- !u!1 &1807176298
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
serializedVersion: 5
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1807176300}
|
||||
- component: {fileID: 1807176299}
|
||||
@ -381,8 +730,9 @@ GameObject:
|
||||
--- !u!114 &1807176299
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1807176298}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
@ -395,13 +745,93 @@ MonoBehaviour:
|
||||
--- !u!4 &1807176300
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1807176298}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1924218899
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1924218902}
|
||||
- component: {fileID: 1924218901}
|
||||
- component: {fileID: 1924218900}
|
||||
m_Layer: 0
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1924218900
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1924218899}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_HorizontalAxis: Horizontal
|
||||
m_VerticalAxis: Vertical
|
||||
m_SubmitButton: Submit
|
||||
m_CancelButton: Cancel
|
||||
m_InputActionsPerSecond: 10
|
||||
m_RepeatDelay: 0.5
|
||||
m_ForceModuleActive: 0
|
||||
--- !u!114 &1924218901
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1924218899}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 10
|
||||
--- !u!4 &1924218902
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1924218899}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 433620968}
|
||||
- {fileID: 1807176300}
|
||||
- {fileID: 92207862}
|
||||
- {fileID: 651278530}
|
||||
- {fileID: 1200587070}
|
||||
- {fileID: 1924218902}
|
||||
|
||||
15770
Assets/ThirdParty/Spine Examples/Other Examples/Physics Constraints.unity
vendored
Normal file
7
Assets/ThirdParty/Spine Examples/Other Examples/Physics Constraints.unity.meta
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e08ce2e2ca315ea4a8e8d3a90681a14c
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -151,6 +151,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 592567554}
|
||||
m_RootOrder: 1
|
||||
@ -256,6 +257,9 @@ MonoBehaviour:
|
||||
materialsInsideMask: []
|
||||
materialsOutsideMask: []
|
||||
disableRenderingOnOverride: 1
|
||||
physicsPositionInheritanceFactor: {x: 1, y: 1}
|
||||
physicsRotationInheritanceFactor: 1
|
||||
physicsMovementRelativeTo: {fileID: 0}
|
||||
updateTiming: 1
|
||||
unscaledTime: 0
|
||||
_animationName: run
|
||||
@ -272,6 +276,7 @@ MeshRenderer:
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
@ -320,6 +325,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -7.83, y: 0, z: 5.66}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
@ -352,6 +358,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 592567554}
|
||||
m_RootOrder: 2
|
||||
@ -434,6 +441,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1911967440}
|
||||
- {fileID: 71621967}
|
||||
@ -489,6 +497,7 @@ Canvas:
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
@ -518,6 +527,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1911967440}
|
||||
m_RootOrder: 0
|
||||
@ -554,6 +564,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -3.7153435, y: -0.0017910004, z: 5.9292965}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
@ -583,6 +594,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 1369381601}
|
||||
- component: {fileID: 1369381600}
|
||||
- component: {fileID: 1369381602}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
@ -662,10 +674,31 @@ Transform:
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!114 &1369381602
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1369381599}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Version: 1
|
||||
m_UsePipelineSettings: 1
|
||||
m_AdditionalLightsShadowResolutionTier: 2
|
||||
m_LightLayerMask: 1
|
||||
m_CustomShadowLayers: 0
|
||||
m_ShadowLayerMask: 1
|
||||
m_LightCookieSize: {x: 1, y: 1}
|
||||
m_LightCookieOffset: {x: 0, y: 0}
|
||||
--- !u!1 &1407691187
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -745,6 +778,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 4.8, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
@ -811,6 +845,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 5
|
||||
@ -843,6 +878,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 592567554}
|
||||
m_RootOrder: 3
|
||||
@ -930,6 +966,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 592567554}
|
||||
m_RootOrder: 4
|
||||
@ -1019,9 +1056,10 @@ MonoBehaviour:
|
||||
color: {r: 1, g: 1, b: 1, a: 1}
|
||||
maxRenderTextureSize: 1024
|
||||
quad: {fileID: 0}
|
||||
quadMaterial: {fileID: 2100000, guid: 4c507f887c6274a44a603d96e0eabf2a, type: 2}
|
||||
renderTexture: {fileID: 0}
|
||||
targetCamera: {fileID: 0}
|
||||
quadMaterial: {fileID: 2100000, guid: 4c507f887c6274a44a603d96e0eabf2a, type: 2}
|
||||
shaderPasses: 00000000
|
||||
--- !u!114 &1786065615
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1057,6 +1095,9 @@ MonoBehaviour:
|
||||
materialsInsideMask: []
|
||||
materialsOutsideMask: []
|
||||
disableRenderingOnOverride: 1
|
||||
physicsPositionInheritanceFactor: {x: 1, y: 1}
|
||||
physicsRotationInheritanceFactor: 1
|
||||
physicsMovementRelativeTo: {fileID: 0}
|
||||
updateTiming: 1
|
||||
unscaledTime: 0
|
||||
_animationName: run
|
||||
@ -1073,6 +1114,7 @@ MeshRenderer:
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
@ -1121,6 +1163,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 2.38, y: 0, z: 5.66}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
@ -1164,6 +1207,7 @@ Transform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -4.7074776, y: 0.042612553, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 592567554}
|
||||
m_Father: {fileID: 0}
|
||||
@ -1199,6 +1243,7 @@ RectTransform:
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.3, y: 0.3, z: 0.3}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1089682727}
|
||||
m_Father: {fileID: 592567554}
|
||||
@ -1233,6 +1278,7 @@ MonoBehaviour:
|
||||
additiveMaterial: {fileID: 2100000, guid: 2e8245019faeb8c43b75f9ca3ac8ee34, type: 2}
|
||||
multiplyMaterial: {fileID: 2100000, guid: e74a1f8978a7da348a721508d0d58834, type: 2}
|
||||
screenMaterial: {fileID: 2100000, guid: bab24c479f34eec45be6ea8595891569, type: 2}
|
||||
m_SkeletonColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
initialSkinName: default
|
||||
initialFlipX: 0
|
||||
initialFlipY: 0
|
||||
@ -1240,6 +1286,14 @@ MonoBehaviour:
|
||||
startingLoop: 1
|
||||
timeScale: 1
|
||||
freeze: 0
|
||||
layoutScaleMode: 0
|
||||
referenceSize: {x: 2145.5999, y: 1302.059}
|
||||
referencePivot: {x: 0.63858336, y: 0.010301443}
|
||||
referencePivotOffset: {x: 1370.1444, y: 13.413086}
|
||||
referenceScale: 1
|
||||
rectTransformSize: {x: 2145.5999, y: 1302.059}
|
||||
rectTransformPivot: {x: 0, y: 0}
|
||||
editReferenceRect: 0
|
||||
updateWhenInvisible: 3
|
||||
allowMultipleCanvasRenderers: 0
|
||||
canvasRenderers: []
|
||||
@ -1247,16 +1301,20 @@ MonoBehaviour:
|
||||
enableSeparatorSlots: 0
|
||||
separatorParts: []
|
||||
updateSeparatorPartLocation: 1
|
||||
updateSeparatorPartScale: 0
|
||||
disableMeshAssignmentOnOverride: 1
|
||||
physicsPositionInheritanceFactor: {x: 1, y: 1}
|
||||
physicsRotationInheritanceFactor: 1
|
||||
physicsMovementRelativeTo: {fileID: 0}
|
||||
meshGenerator:
|
||||
settings:
|
||||
useClipping: 1
|
||||
zSpacing: 0
|
||||
pmaVertexColors: 1
|
||||
tintBlack: 0
|
||||
canvasGroupTintBlack: 0
|
||||
calculateTangents: 0
|
||||
canvasGroupCompatible: 0
|
||||
pmaVertexColors: 1
|
||||
addNormals: 0
|
||||
calculateTangents: 0
|
||||
immutableTriangles: 0
|
||||
updateTiming: 1
|
||||
unscaledTime: 0
|
||||
@ -1296,8 +1354,10 @@ MonoBehaviour:
|
||||
color: {r: 1, g: 1, b: 1, a: 1}
|
||||
maxRenderTextureSize: 1024
|
||||
quad: {fileID: 0}
|
||||
quadMaterial: {fileID: 2100000, guid: afeb0ae2ea2cda94796515bf8d1b3cb1, type: 2}
|
||||
renderTexture: {fileID: 0}
|
||||
targetCamera: {fileID: 0}
|
||||
shaderPasses: 00000000
|
||||
customRenderRect: {fileID: 1089682727}
|
||||
meshRendererMaterialForTexture:
|
||||
- texture: {fileID: 2800000, guid: 4ea2c33e839afb34c98f66e892b3b2d2, type: 3}
|
||||
|
||||
@ -124,14 +124,14 @@ namespace Spine.Unity.Examples {
|
||||
public void PlayShoot () {
|
||||
// Play the shoot animation on track 1.
|
||||
TrackEntry shootTrack = skeletonAnimation.AnimationState.SetAnimation(1, shoot, false);
|
||||
shootTrack.AttachmentThreshold = 1f;
|
||||
shootTrack.MixDuration = 0f;
|
||||
shootTrack.MixAttachmentThreshold = 1f;
|
||||
shootTrack.SetMixDuration(0f, 0f);
|
||||
skeletonAnimation.state.AddEmptyAnimation(1, 0.5f, 0.1f);
|
||||
|
||||
// Play the aim animation on track 2 to aim at the mouse target.
|
||||
TrackEntry aimTrack = skeletonAnimation.AnimationState.SetAnimation(2, aim, false);
|
||||
aimTrack.AttachmentThreshold = 1f;
|
||||
aimTrack.MixDuration = 0f;
|
||||
aimTrack.MixAttachmentThreshold = 1f;
|
||||
aimTrack.SetMixDuration(0f, 0f);
|
||||
skeletonAnimation.state.AddEmptyAnimation(2, 0.5f, 0.1f);
|
||||
|
||||
gunSource.pitch = GetRandomPitch(gunsoundPitchOffset);
|
||||
@ -143,8 +143,8 @@ namespace Spine.Unity.Examples {
|
||||
public void StartPlayingAim () {
|
||||
// Play the aim animation on track 2 to aim at the mouse target.
|
||||
TrackEntry aimTrack = skeletonAnimation.AnimationState.SetAnimation(2, aim, true);
|
||||
aimTrack.AttachmentThreshold = 1f;
|
||||
aimTrack.MixDuration = 0f;
|
||||
aimTrack.MixAttachmentThreshold = 1f;
|
||||
aimTrack.SetMixDuration(0f, 0f); // use SetMixDuration(mixDuration, delay) to update delay correctly
|
||||
}
|
||||
|
||||
public void StopPlayingAim () {
|
||||
|
||||
@ -124,14 +124,14 @@ namespace Spine.Unity.Examples {
|
||||
public void PlayShoot () {
|
||||
// Play the shoot animation on track 1.
|
||||
TrackEntry shootTrack = skeletonGraphic.AnimationState.SetAnimation(1, shoot, false);
|
||||
shootTrack.AttachmentThreshold = 1f;
|
||||
shootTrack.MixDuration = 0f;
|
||||
shootTrack.MixAttachmentThreshold = 1f;
|
||||
shootTrack.SetMixDuration(0f, 0f);
|
||||
skeletonGraphic.AnimationState.AddEmptyAnimation(1, 0.5f, 0.1f);
|
||||
|
||||
// Play the aim animation on track 2 to aim at the mouse target.
|
||||
TrackEntry aimTrack = skeletonGraphic.AnimationState.SetAnimation(2, aim, false);
|
||||
aimTrack.AttachmentThreshold = 1f;
|
||||
aimTrack.MixDuration = 0f;
|
||||
aimTrack.MixAttachmentThreshold = 1f;
|
||||
aimTrack.SetMixDuration(0f, 0f);
|
||||
skeletonGraphic.AnimationState.AddEmptyAnimation(2, 0.5f, 0.1f);
|
||||
|
||||
gunSource.pitch = GetRandomPitch(gunsoundPitchOffset);
|
||||
@ -143,8 +143,8 @@ namespace Spine.Unity.Examples {
|
||||
public void StartPlayingAim () {
|
||||
// Play the aim animation on track 2 to aim at the mouse target.
|
||||
TrackEntry aimTrack = skeletonGraphic.AnimationState.SetAnimation(2, aim, true);
|
||||
aimTrack.AttachmentThreshold = 1f;
|
||||
aimTrack.MixDuration = 0f;
|
||||
aimTrack.MixAttachmentThreshold = 1f;
|
||||
aimTrack.SetMixDuration(0f, 0f); // use SetMixDuration(mixDuration, delay) to update delay correctly
|
||||
}
|
||||
|
||||
public void StopPlayingAim () {
|
||||
|
||||
@ -46,14 +46,27 @@ namespace Spine.Unity.Examples {
|
||||
SpineAtlasAsset runtimeAtlasAsset;
|
||||
SkeletonDataAsset runtimeSkeletonDataAsset;
|
||||
SkeletonAnimation runtimeSkeletonAnimation;
|
||||
SkeletonGraphic runtimeSkeletonGraphic;
|
||||
|
||||
public bool blendModeMaterials = false;
|
||||
public bool applyAdditiveMaterial = false;
|
||||
public BlendModeMaterials.TemplateMaterials blendModeTemplateMaterials;
|
||||
public BlendModeMaterials.TemplateMaterials graphicBlendModeMaterials;
|
||||
public Material skeletonGraphicMaterial;
|
||||
|
||||
void CreateRuntimeAssetsAndGameObject () {
|
||||
// 1. Create the AtlasAsset (needs atlas text asset and textures, and materials/shader);
|
||||
// 2. Create SkeletonDataAsset (needs json or binary asset file, and an AtlasAsset)
|
||||
// 3. Create SkeletonAnimation (needs a valid SkeletonDataAsset)
|
||||
// 2.1 Optional: Setup blend mode materials at SkeletonDataAsset. Only required if the skeleton
|
||||
// uses blend modes which require blend mode materials.
|
||||
// 3.a Create SkeletonAnimation (needs a valid SkeletonDataAsset)
|
||||
// 3.b Create SkeletonGraphic (needs a valid SkeletonDataAsset)
|
||||
|
||||
runtimeAtlasAsset = SpineAtlasAsset.CreateRuntimeInstance(atlasText, textures, materialPropertySource, true);
|
||||
runtimeAtlasAsset = SpineAtlasAsset.CreateRuntimeInstance(atlasText, textures, materialPropertySource, true, null, true);
|
||||
runtimeSkeletonDataAsset = SkeletonDataAsset.CreateRuntimeInstance(skeletonJson, runtimeAtlasAsset, true);
|
||||
if (blendModeMaterials)
|
||||
runtimeSkeletonDataAsset.SetupRuntimeBlendModeMaterials(
|
||||
applyAdditiveMaterial, blendModeTemplateMaterials);
|
||||
}
|
||||
|
||||
IEnumerator Start () {
|
||||
@ -62,7 +75,15 @@ namespace Spine.Unity.Examples {
|
||||
runtimeSkeletonDataAsset.GetSkeletonData(false); // preload
|
||||
yield return new WaitForSeconds(delay);
|
||||
}
|
||||
InstantiateSkeletonAnimation();
|
||||
|
||||
InstantiateSkeletonGraphic();
|
||||
}
|
||||
|
||||
void InstantiateSkeletonAnimation () {
|
||||
runtimeSkeletonAnimation = SkeletonAnimation.NewSkeletonAnimationGameObject(runtimeSkeletonDataAsset);
|
||||
runtimeSkeletonAnimation.transform.parent = transform;
|
||||
runtimeSkeletonAnimation.name = "SkeletonAnimation Instance";
|
||||
|
||||
// additional initialization
|
||||
runtimeSkeletonAnimation.Initialize(false);
|
||||
@ -72,6 +93,28 @@ namespace Spine.Unity.Examples {
|
||||
if (animationName != "")
|
||||
runtimeSkeletonAnimation.AnimationState.SetAnimation(0, animationName, true);
|
||||
}
|
||||
}
|
||||
|
||||
void InstantiateSkeletonGraphic () {
|
||||
Canvas canvas = this.GetComponentInChildren<Canvas>();
|
||||
Transform parent = canvas.transform;
|
||||
|
||||
runtimeSkeletonGraphic = SkeletonGraphic.NewSkeletonGraphicGameObject(runtimeSkeletonDataAsset, parent, skeletonGraphicMaterial);
|
||||
runtimeSkeletonGraphic.name = "SkeletonGraphic Instance";
|
||||
|
||||
if (blendModeMaterials) {
|
||||
runtimeSkeletonGraphic.allowMultipleCanvasRenderers = true;
|
||||
runtimeSkeletonGraphic.additiveMaterial = graphicBlendModeMaterials.additiveTemplate;
|
||||
runtimeSkeletonGraphic.multiplyMaterial = graphicBlendModeMaterials.multiplyTemplate;
|
||||
runtimeSkeletonGraphic.screenMaterial = graphicBlendModeMaterials.screenTemplate;
|
||||
}
|
||||
|
||||
// additional initialization
|
||||
runtimeSkeletonGraphic.Initialize(false);
|
||||
if (skinName != "")
|
||||
runtimeSkeletonGraphic.Skeleton.SetSkin(skinName);
|
||||
runtimeSkeletonGraphic.Skeleton.SetSlotsToSetupPose();
|
||||
if (animationName != "")
|
||||
runtimeSkeletonGraphic.AnimationState.SetAnimation(0, animationName, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,6 +31,10 @@
|
||||
#define NEW_PREFAB_SYSTEM
|
||||
#endif
|
||||
|
||||
#if UNITY_2018_2_OR_NEWER
|
||||
#define HAS_GET_SHARED_MATERIALS
|
||||
#endif
|
||||
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
@ -59,20 +63,28 @@ namespace Spine.Unity.Examples {
|
||||
|
||||
private Dictionary<Material, Material> replacementMaterialDict = new Dictionary<Material, Material>();
|
||||
private Material[] sharedMaterials = new Material[0];
|
||||
#if HAS_GET_SHARED_MATERIALS
|
||||
private List<Material> parentMaterials = new List<Material>();
|
||||
#endif
|
||||
|
||||
#if UNITY_EDITOR
|
||||
private void Reset () {
|
||||
if (referenceRenderer == null) {
|
||||
referenceRenderer = this.transform.parent.GetComponentInParent<MeshRenderer>();
|
||||
if (!referenceRenderer)
|
||||
return;
|
||||
if (this.transform.parent)
|
||||
referenceRenderer = this.transform.parent.GetComponentInParent<MeshRenderer>();
|
||||
if (referenceRenderer == null) return;
|
||||
}
|
||||
|
||||
#if HAS_GET_SHARED_MATERIALS
|
||||
referenceRenderer.GetSharedMaterials(parentMaterials);
|
||||
int parentMaterialsCount = parentMaterials.Count;
|
||||
#else
|
||||
Material[] parentMaterials = referenceRenderer.sharedMaterials;
|
||||
if (replacementMaterials.Length != parentMaterials.Length) {
|
||||
replacementMaterials = new MaterialReplacement[parentMaterials.Length];
|
||||
int parentMaterialsCount = parentMaterials.Length;
|
||||
#endif
|
||||
if (replacementMaterials.Length != parentMaterialsCount) {
|
||||
replacementMaterials = new MaterialReplacement[parentMaterialsCount];
|
||||
}
|
||||
for (int i = 0; i < parentMaterials.Length; ++i) {
|
||||
for (int i = 0; i < parentMaterialsCount; ++i) {
|
||||
replacementMaterials[i].originalMaterial = parentMaterials[i];
|
||||
replacementMaterials[i].replacementMaterial = parentMaterials[i];
|
||||
}
|
||||
@ -82,9 +94,15 @@ namespace Spine.Unity.Examples {
|
||||
#endif
|
||||
|
||||
void Awake () {
|
||||
ownRenderer = this.GetComponent<MeshRenderer>();
|
||||
ownMeshFilter = this.GetComponent<MeshFilter>();
|
||||
|
||||
if (referenceRenderer == null) {
|
||||
referenceRenderer = this.transform.parent.GetComponentInParent<MeshRenderer>();
|
||||
if (this.transform.parent != null)
|
||||
referenceRenderer = this.transform.parent.GetComponentInParent<MeshRenderer>();
|
||||
if (referenceRenderer == null) return;
|
||||
}
|
||||
referenceMeshFilter = referenceRenderer.GetComponent<MeshFilter>();
|
||||
|
||||
// subscribe to OnMeshAndMaterialsUpdated
|
||||
SkeletonAnimation skeletonRenderer = referenceRenderer.GetComponent<SkeletonAnimation>();
|
||||
@ -93,9 +111,6 @@ namespace Spine.Unity.Examples {
|
||||
skeletonRenderer.OnMeshAndMaterialsUpdated += UpdateOnCallback;
|
||||
updateViaSkeletonCallback = true;
|
||||
}
|
||||
referenceMeshFilter = referenceRenderer.GetComponent<MeshFilter>();
|
||||
ownRenderer = this.GetComponent<MeshRenderer>();
|
||||
ownMeshFilter = this.GetComponent<MeshFilter>();
|
||||
|
||||
InitializeDict();
|
||||
}
|
||||
@ -131,13 +146,23 @@ namespace Spine.Unity.Examples {
|
||||
}
|
||||
|
||||
void UpdateMaterials () {
|
||||
#if UNITY_EDITOR
|
||||
if (!referenceRenderer) return;
|
||||
if (!referenceMeshFilter) Reset();
|
||||
#endif
|
||||
ownMeshFilter.sharedMesh = referenceMeshFilter.sharedMesh;
|
||||
|
||||
#if HAS_GET_SHARED_MATERIALS
|
||||
referenceRenderer.GetSharedMaterials(parentMaterials);
|
||||
int parentMaterialsCount = parentMaterials.Count;
|
||||
#else
|
||||
Material[] parentMaterials = referenceRenderer.sharedMaterials;
|
||||
if (sharedMaterials.Length != parentMaterials.Length) {
|
||||
sharedMaterials = new Material[parentMaterials.Length];
|
||||
int parentMaterialsCount = parentMaterials.Length;
|
||||
#endif
|
||||
if (sharedMaterials.Length != parentMaterialsCount) {
|
||||
sharedMaterials = new Material[parentMaterialsCount];
|
||||
}
|
||||
for (int i = 0; i < parentMaterials.Length; ++i) {
|
||||
for (int i = 0; i < parentMaterialsCount; ++i) {
|
||||
Material parentMaterial = parentMaterials[i];
|
||||
if (replacementMaterialDict.ContainsKey(parentMaterial)) {
|
||||
sharedMaterials[i] = replacementMaterialDict[parentMaterial];
|
||||
|
||||
224
Assets/ThirdParty/Spine Examples/Scripts/Sample Components/RenderExistingMeshGraphic.cs
vendored
Normal file
@ -0,0 +1,224 @@
|
||||
/******************************************************************************
|
||||
* Spine Runtimes License Agreement
|
||||
* Last updated July 28, 2023. Replaces all prior versions.
|
||||
*
|
||||
* Copyright (c) 2013-2025, Esoteric Software LLC
|
||||
*
|
||||
* Integration of the Spine Runtimes into software or otherwise creating
|
||||
* derivative works of the Spine Runtimes is permitted under the terms and
|
||||
* conditions of Section 2 of the Spine Editor License Agreement:
|
||||
* http://esotericsoftware.com/spine-editor-license
|
||||
*
|
||||
* Otherwise, it is permitted to integrate the Spine Runtimes into software or
|
||||
* otherwise create derivative works of the Spine Runtimes (collectively,
|
||||
* "Products"), provided that each user of the Products must obtain their own
|
||||
* Spine Editor license and redistribution of the Products in any form must
|
||||
* include this license and copyright notice.
|
||||
*
|
||||
* THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||
* BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
|
||||
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*****************************************************************************/
|
||||
|
||||
#if UNITY_2018_3 || UNITY_2019 || UNITY_2018_3_OR_NEWER
|
||||
#define NEW_PREFAB_SYSTEM
|
||||
#endif
|
||||
|
||||
#if UNITY_2018_2_OR_NEWER
|
||||
#define HAS_CULL_TRANSPARENT_MESH
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Spine.Unity.Examples {
|
||||
using MaterialReplacement = RenderExistingMesh.MaterialReplacement;
|
||||
|
||||
#if NEW_PREFAB_SYSTEM
|
||||
[ExecuteAlways]
|
||||
#else
|
||||
[ExecuteInEditMode]
|
||||
#endif
|
||||
public class RenderExistingMeshGraphic : MonoBehaviour {
|
||||
public SkeletonGraphic referenceSkeletonGraphic;
|
||||
public Material replacementMaterial;
|
||||
|
||||
public MaterialReplacement[] replacementMaterials = new MaterialReplacement[0];
|
||||
|
||||
SkeletonSubmeshGraphic ownGraphic;
|
||||
public List<SkeletonSubmeshGraphic> ownSubmeshGraphics;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
private void Reset () {
|
||||
Awake();
|
||||
LateUpdate();
|
||||
}
|
||||
#endif
|
||||
|
||||
void Awake () {
|
||||
// subscribe to OnMeshAndMaterialsUpdated
|
||||
if (referenceSkeletonGraphic) {
|
||||
referenceSkeletonGraphic.OnMeshAndMaterialsUpdated -= UpdateOnCallback;
|
||||
referenceSkeletonGraphic.OnMeshAndMaterialsUpdated += UpdateOnCallback;
|
||||
}
|
||||
|
||||
ownGraphic = this.GetComponent<SkeletonSubmeshGraphic>();
|
||||
if (referenceSkeletonGraphic) {
|
||||
if (referenceSkeletonGraphic.allowMultipleCanvasRenderers)
|
||||
EnsureCanvasRendererCount(referenceSkeletonGraphic.canvasRenderers.Count);
|
||||
else
|
||||
SetupSubmeshGraphic();
|
||||
}
|
||||
}
|
||||
|
||||
protected void OnDisable () {
|
||||
if (referenceSkeletonGraphic) {
|
||||
referenceSkeletonGraphic.OnMeshAndMaterialsUpdated -= UpdateOnCallback;
|
||||
}
|
||||
}
|
||||
|
||||
protected void OnEnable () {
|
||||
#if UNITY_EDITOR
|
||||
// handle disabled scene reload
|
||||
if (Application.isPlaying) {
|
||||
Awake();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
if (referenceSkeletonGraphic) {
|
||||
referenceSkeletonGraphic.OnMeshAndMaterialsUpdated -= UpdateOnCallback;
|
||||
referenceSkeletonGraphic.OnMeshAndMaterialsUpdated += UpdateOnCallback;
|
||||
}
|
||||
}
|
||||
|
||||
void SetupSubmeshGraphic () {
|
||||
if (ownGraphic == null)
|
||||
ownGraphic = this.gameObject.AddComponent<SkeletonSubmeshGraphic>();
|
||||
|
||||
ownGraphic.maskable = referenceSkeletonGraphic.maskable;
|
||||
#if HAS_CULL_TRANSPARENT_MESH
|
||||
ownGraphic.canvasRenderer.cullTransparentMesh = referenceSkeletonGraphic.canvasRenderer.cullTransparentMesh;
|
||||
#endif
|
||||
ownGraphic.canvasRenderer.SetMaterial(replacementMaterial, referenceSkeletonGraphic.mainTexture);
|
||||
}
|
||||
|
||||
protected void EnsureCanvasRendererCount (int targetCount) {
|
||||
if (ownSubmeshGraphics == null)
|
||||
ownSubmeshGraphics = new List<SkeletonSubmeshGraphic>();
|
||||
|
||||
#if HAS_CULL_TRANSPARENT_MESH
|
||||
bool cullTransparentMesh = referenceSkeletonGraphic.canvasRenderer.cullTransparentMesh;
|
||||
#endif
|
||||
Vector2 pivot = referenceSkeletonGraphic.rectTransform.pivot;
|
||||
|
||||
int currentCount = ownSubmeshGraphics.Count;
|
||||
for (int i = currentCount; i < targetCount; ++i) {
|
||||
GameObject go = new GameObject(string.Format("Renderer{0}", i), typeof(RectTransform));
|
||||
go.transform.SetParent(this.transform, false);
|
||||
go.transform.localPosition = Vector3.zero;
|
||||
CanvasRenderer canvasRenderer = go.AddComponent<CanvasRenderer>();
|
||||
#if HAS_CULL_TRANSPARENT_MESH
|
||||
canvasRenderer.cullTransparentMesh = cullTransparentMesh;
|
||||
#endif
|
||||
SkeletonSubmeshGraphic submeshGraphic = go.AddComponent<SkeletonSubmeshGraphic>();
|
||||
ownSubmeshGraphics.Add(submeshGraphic);
|
||||
submeshGraphic.maskable = referenceSkeletonGraphic.maskable;
|
||||
submeshGraphic.raycastTarget = false;
|
||||
submeshGraphic.rectTransform.pivot = pivot;
|
||||
submeshGraphic.rectTransform.anchorMin = Vector2.zero;
|
||||
submeshGraphic.rectTransform.anchorMax = Vector2.one;
|
||||
submeshGraphic.rectTransform.sizeDelta = Vector2.zero;
|
||||
}
|
||||
}
|
||||
|
||||
protected void UpdateCanvasRenderers () {
|
||||
Mesh[] referenceMeshes = referenceSkeletonGraphic.MeshesMultipleCanvasRenderers.Items;
|
||||
Material[] referenceMaterials = referenceSkeletonGraphic.MaterialsMultipleCanvasRenderers.Items;
|
||||
Texture[] referenceTextures = referenceSkeletonGraphic.TexturesMultipleCanvasRenderers.Items;
|
||||
|
||||
int end = Math.Min(ownSubmeshGraphics.Count, referenceSkeletonGraphic.TexturesMultipleCanvasRenderers.Count);
|
||||
|
||||
for (int i = 0; i < end; i++) {
|
||||
SkeletonSubmeshGraphic submeshGraphic = ownSubmeshGraphics[i];
|
||||
CanvasRenderer reference = referenceSkeletonGraphic.canvasRenderers[i];
|
||||
|
||||
if (reference.gameObject.activeInHierarchy) {
|
||||
Material usedMaterial = replacementMaterial != null ?
|
||||
replacementMaterial : GetReplacementMaterialFor(referenceMaterials[i]);
|
||||
if (usedMaterial == null)
|
||||
usedMaterial = referenceMaterials[i];
|
||||
usedMaterial = referenceSkeletonGraphic.GetModifiedMaterial(usedMaterial);
|
||||
submeshGraphic.canvasRenderer.SetMaterial(usedMaterial, referenceTextures[i]);
|
||||
submeshGraphic.canvasRenderer.SetMesh(referenceMeshes[i]);
|
||||
submeshGraphic.gameObject.SetActive(true);
|
||||
} else {
|
||||
submeshGraphic.canvasRenderer.Clear();
|
||||
submeshGraphic.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void DisableCanvasRenderers () {
|
||||
for (int i = 0; i < ownSubmeshGraphics.Count; i++) {
|
||||
SkeletonSubmeshGraphic submeshGraphic = ownSubmeshGraphics[i];
|
||||
submeshGraphic.canvasRenderer.Clear();
|
||||
submeshGraphic.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
protected Material GetReplacementMaterialFor (Material originalMaterial) {
|
||||
for (int i = 0; i < replacementMaterials.Length; ++i) {
|
||||
MaterialReplacement entry = replacementMaterials[i];
|
||||
if (entry.originalMaterial != null && entry.originalMaterial.shader == originalMaterial.shader)
|
||||
return entry.replacementMaterial;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void LateUpdate () {
|
||||
if (!Application.isPlaying) {
|
||||
UpdateMesh();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void UpdateOnCallback (SkeletonGraphic g) {
|
||||
UpdateMesh();
|
||||
}
|
||||
|
||||
void UpdateMesh () {
|
||||
if (!referenceSkeletonGraphic) return;
|
||||
|
||||
if (referenceSkeletonGraphic.allowMultipleCanvasRenderers) {
|
||||
EnsureCanvasRendererCount(referenceSkeletonGraphic.canvasRenderers.Count);
|
||||
UpdateCanvasRenderers();
|
||||
if (ownGraphic)
|
||||
ownGraphic.canvasRenderer.Clear();
|
||||
} else {
|
||||
if (ownGraphic == null)
|
||||
ownGraphic = this.gameObject.AddComponent<SkeletonSubmeshGraphic>();
|
||||
|
||||
DisableCanvasRenderers();
|
||||
|
||||
Material referenceMaterial = referenceSkeletonGraphic.materialForRendering;
|
||||
Material usedMaterial = replacementMaterial != null ? replacementMaterial : GetReplacementMaterialFor(referenceMaterial);
|
||||
if (usedMaterial == null)
|
||||
usedMaterial = referenceMaterial;
|
||||
usedMaterial = referenceSkeletonGraphic.GetModifiedMaterial(usedMaterial);
|
||||
ownGraphic.canvasRenderer.SetMaterial(usedMaterial, referenceSkeletonGraphic.mainTexture);
|
||||
Mesh mesh = referenceSkeletonGraphic.GetLastMesh();
|
||||
ownGraphic.canvasRenderer.SetMesh(mesh);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/ThirdParty/Spine Examples/Scripts/Sample Components/RenderExistingMeshGraphic.cs.meta
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff6ce4ce6b9336a479c6bf5af81fa80a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -98,7 +98,11 @@ public class TwoByTwoTransformEffectExampleEditor : UnityEditor.Editor {
|
||||
Color originalColor = UnityEditor.Handles.color;
|
||||
UnityEditor.Handles.color = color;
|
||||
UnityEditor.Handles.DrawLine(transform.position, transform.TransformPoint(v));
|
||||
#if UNITY_2022_1_OR_NEWER
|
||||
v = transform.InverseTransformPoint(UnityEditor.Handles.FreeMoveHandle(transform.TransformPoint(v), 0.3f, Vector3.zero, UnityEditor.Handles.CubeHandleCap));
|
||||
#else
|
||||
v = transform.InverseTransformPoint(UnityEditor.Handles.FreeMoveHandle(transform.TransformPoint(v), Quaternion.identity, 0.3f, Vector3.zero, UnityEditor.Handles.CubeHandleCap));
|
||||
#endif
|
||||
UnityEditor.Handles.color = originalColor;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,106 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: RenderQuadGraphicMaterial
|
||||
m_Shader: {fileID: 4800000, guid: fa95b0fb6983c0f40a152e6f9aa82bfb, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _CANVAS_GROUP_COMPATIBLE
|
||||
m_InvalidKeywords:
|
||||
- _ALPHAPREMULTIPLY_ON
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _CanvasGroupCompatible: 1
|
||||
- _ColorMask: 15
|
||||
- _Cutoff: 0.5
|
||||
- _DarkColorAlphaAdditive: 0
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 10
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 3
|
||||
- _OcclusionStrength: 1
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
- _OutlineSmoothness: 1
|
||||
- _OutlineWidth: 3
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilRef: 1
|
||||
- _StencilWriteMask: 255
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _UVSec: 0
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseUIAlphaClip: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Black: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df19a30178772d14895780e0cbd7c25c
|
||||
guid: afeb0ae2ea2cda94796515bf8d1b3cb1
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -40,7 +40,7 @@ namespace Spine.Unity.Examples {
|
||||
|
||||
/// <summary>
|
||||
/// When enabled, this component renders a skeleton to a RenderTexture and
|
||||
/// then draws this RenderTexture at a UI RawImage quad of the same size.
|
||||
/// then draws this RenderTexture at a UI SkeletonSubmeshGraphic quad of the same size.
|
||||
/// This allows changing transparency at a single quad, which produces a more
|
||||
/// natural fadeout effect.
|
||||
/// Note: It is recommended to keep this component disabled as much as possible
|
||||
@ -64,9 +64,22 @@ namespace Spine.Unity.Examples {
|
||||
protected SkeletonGraphic skeletonGraphic;
|
||||
public List<TextureMaterialPair> meshRendererMaterialForTexture = new List<TextureMaterialPair>();
|
||||
protected CanvasRenderer quadCanvasRenderer;
|
||||
protected RawImage quadRawImage;
|
||||
protected SkeletonSubmeshGraphic quadMaskableGraphic;
|
||||
protected readonly Vector3[] worldCorners = new Vector3[4];
|
||||
|
||||
public void ResetMeshRendererMaterials () {
|
||||
meshRendererMaterialForTexture.Clear();
|
||||
AtlasAssetBase[] atlasAssets = skeletonGraphic.SkeletonDataAsset.atlasAssets;
|
||||
for (int i = 0; i < atlasAssets.Length; ++i) {
|
||||
foreach (Material material in atlasAssets[i].Materials) {
|
||||
if (material.mainTexture != null) {
|
||||
meshRendererMaterialForTexture.Add(
|
||||
new TextureMaterialPair(material.mainTexture, material));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Awake () {
|
||||
base.Awake();
|
||||
skeletonGraphic = this.GetComponent<SkeletonGraphic>();
|
||||
@ -79,28 +92,32 @@ namespace Spine.Unity.Examples {
|
||||
}
|
||||
|
||||
void CreateQuadChild () {
|
||||
quad = new GameObject(this.name + " RenderTexture", typeof(CanvasRenderer), typeof(RawImage));
|
||||
quad = new GameObject(this.name + " RenderTexture", typeof(CanvasRenderer), typeof(SkeletonSubmeshGraphic));
|
||||
quad.transform.SetParent(this.transform.parent, false);
|
||||
quadCanvasRenderer = quad.GetComponent<CanvasRenderer>();
|
||||
quadRawImage = quad.GetComponent<RawImage>();
|
||||
quadMaskableGraphic = quad.GetComponent<SkeletonSubmeshGraphic>();
|
||||
|
||||
quadMesh = new Mesh();
|
||||
quadMesh.MarkDynamic();
|
||||
quadMesh.name = "RenderTexture Quad";
|
||||
quadMesh.hideFlags = HideFlags.DontSaveInBuild | HideFlags.DontSaveInEditor;
|
||||
|
||||
if (quadMaterial == null) {
|
||||
quadMaterial = new Material(Shader.Find("Spine/SkeletonGraphic"));
|
||||
quadMaterial.EnableKeyword("_CANVAS_GROUP_COMPATIBLE");
|
||||
}
|
||||
}
|
||||
|
||||
void Reset () {
|
||||
skeletonGraphic = this.GetComponent<SkeletonGraphic>();
|
||||
AtlasAssetBase[] atlasAssets = skeletonGraphic.SkeletonDataAsset.atlasAssets;
|
||||
for (int i = 0; i < atlasAssets.Length; ++i) {
|
||||
foreach (Material material in atlasAssets[i].Materials) {
|
||||
if (material.mainTexture != null) {
|
||||
meshRendererMaterialForTexture.Add(
|
||||
new TextureMaterialPair(material.mainTexture, material));
|
||||
}
|
||||
}
|
||||
ResetMeshRendererMaterials();
|
||||
#if UNITY_EDITOR
|
||||
string[] assets = UnityEditor.AssetDatabase.FindAssets("t:material RenderQuadGraphicMaterial");
|
||||
if (assets.Length > 0) {
|
||||
string materialPath = UnityEditor.AssetDatabase.GUIDToAssetPath(assets[0]);
|
||||
quadMaterial = UnityEditor.AssetDatabase.LoadAssetAtPath<Material>(materialPath);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void OnEnable () {
|
||||
@ -109,6 +126,7 @@ namespace Spine.Unity.Examples {
|
||||
skeletonGraphic.AssignMeshOverrideMultipleRenderers += RenderMultipleMeshesToRenderTexture;
|
||||
skeletonGraphic.disableMeshAssignmentOnOverride = true;
|
||||
skeletonGraphic.OnMeshAndMaterialsUpdated += RenderOntoQuad;
|
||||
skeletonGraphic.OnAnimationRebuild += OnRebuild;
|
||||
List<CanvasRenderer> canvasRenderers = skeletonGraphic.canvasRenderers;
|
||||
for (int i = 0; i < canvasRenderers.Count; ++i)
|
||||
canvasRenderers[i].cull = true;
|
||||
@ -123,6 +141,7 @@ namespace Spine.Unity.Examples {
|
||||
skeletonGraphic.AssignMeshOverrideMultipleRenderers -= RenderMultipleMeshesToRenderTexture;
|
||||
skeletonGraphic.disableMeshAssignmentOnOverride = false;
|
||||
skeletonGraphic.OnMeshAndMaterialsUpdated -= RenderOntoQuad;
|
||||
skeletonGraphic.OnAnimationRebuild -= OnRebuild;
|
||||
List<CanvasRenderer> canvasRenderers = skeletonGraphic.canvasRenderers;
|
||||
for (int i = 0; i < canvasRenderers.Count; ++i)
|
||||
canvasRenderers[i].cull = false;
|
||||
@ -143,6 +162,10 @@ namespace Spine.Unity.Examples {
|
||||
AssignAtQuad();
|
||||
}
|
||||
|
||||
void OnRebuild (ISkeletonAnimation skeletonGraphic) {
|
||||
ResetMeshRendererMaterials();
|
||||
}
|
||||
|
||||
protected void PrepareForMesh () {
|
||||
// We need to get the min/max of all four corners, rotation of the skeleton
|
||||
// in combination with perspective projection otherwise might lead to incorrect
|
||||
@ -194,8 +217,10 @@ namespace Spine.Unity.Examples {
|
||||
}
|
||||
|
||||
protected void RenderSingleMeshToRenderTexture (Mesh mesh, Material graphicMaterial, Texture texture) {
|
||||
if (mesh.subMeshCount == 0) return;
|
||||
Material meshRendererMaterial = MeshRendererMaterialForTexture(texture);
|
||||
commandBuffer.DrawMesh(mesh, transform.localToWorldMatrix, meshRendererMaterial, 0, -1);
|
||||
foreach (int shaderPass in shaderPasses)
|
||||
commandBuffer.DrawMesh(mesh, transform.localToWorldMatrix, meshRendererMaterial, 0, shaderPass);
|
||||
Graphics.ExecuteCommandBuffer(commandBuffer);
|
||||
}
|
||||
|
||||
@ -203,19 +228,23 @@ namespace Spine.Unity.Examples {
|
||||
Mesh[] meshes, Material[] graphicMaterials, Texture[] textures) {
|
||||
|
||||
for (int i = 0; i < meshCount; ++i) {
|
||||
Mesh mesh = meshes[i];
|
||||
if (mesh.subMeshCount == 0) continue;
|
||||
|
||||
Material meshRendererMaterial = MeshRendererMaterialForTexture(textures[i]);
|
||||
commandBuffer.DrawMesh(meshes[i], transform.localToWorldMatrix, meshRendererMaterial, 0, -1);
|
||||
foreach (int shaderPass in shaderPasses)
|
||||
commandBuffer.DrawMesh(mesh, transform.localToWorldMatrix, meshRendererMaterial, 0, shaderPass);
|
||||
}
|
||||
Graphics.ExecuteCommandBuffer(commandBuffer);
|
||||
}
|
||||
|
||||
protected void SetupQuad () {
|
||||
quadRawImage.texture = this.renderTexture;
|
||||
quadRawImage.color = color;
|
||||
quadCanvasRenderer.SetMaterial(quadMaterial, this.renderTexture);
|
||||
quadMaskableGraphic.color = color;
|
||||
quadCanvasRenderer.SetColor(color);
|
||||
|
||||
RectTransform srcRectTransform = skeletonGraphic.rectTransform;
|
||||
RectTransform dstRectTransform = quadRawImage.rectTransform;
|
||||
RectTransform dstRectTransform = quadMaskableGraphic.rectTransform;
|
||||
|
||||
dstRectTransform.anchorMin = srcRectTransform.anchorMin;
|
||||
dstRectTransform.anchorMax = srcRectTransform.anchorMax;
|
||||
@ -231,24 +260,30 @@ namespace Spine.Unity.Examples {
|
||||
commandBuffer.SetRenderTarget(renderTexture);
|
||||
commandBuffer.ClearRenderTarget(true, true, Color.clear);
|
||||
|
||||
Rect canvasRect = skeletonGraphic.canvas.pixelRect;
|
||||
|
||||
Matrix4x4 projectionMatrix = Matrix4x4.Ortho(
|
||||
canvasRect.x, canvasRect.x + canvasRect.width,
|
||||
canvasRect.y, canvasRect.y + canvasRect.height,
|
||||
float.MinValue, float.MaxValue);
|
||||
Vector2 targetViewportSize = new Vector2(
|
||||
screenSpaceMax.x - screenSpaceMin.x,
|
||||
screenSpaceMax.y - screenSpaceMin.y);
|
||||
|
||||
RenderMode canvasRenderMode = skeletonGraphic.canvas.renderMode;
|
||||
if (canvasRenderMode == RenderMode.ScreenSpaceOverlay) {
|
||||
Rect canvasRect = skeletonGraphic.canvas.pixelRect;
|
||||
canvasRect.x += screenSpaceMin.x;
|
||||
canvasRect.y += screenSpaceMin.y;
|
||||
canvasRect.width = targetViewportSize.x;
|
||||
canvasRect.height = targetViewportSize.y;
|
||||
Matrix4x4 projectionMatrix = Matrix4x4.Ortho(
|
||||
canvasRect.x, canvasRect.x + canvasRect.width,
|
||||
canvasRect.y, canvasRect.y + canvasRect.height,
|
||||
float.MinValue, float.MaxValue);
|
||||
commandBuffer.SetViewMatrix(Matrix4x4.identity);
|
||||
commandBuffer.SetProjectionMatrix(projectionMatrix);
|
||||
} else {
|
||||
commandBuffer.SetViewMatrix(targetCamera.worldToCameraMatrix);
|
||||
commandBuffer.SetProjectionMatrix(targetCamera.projectionMatrix);
|
||||
Matrix4x4 projectionMatrix = CalculateProjectionMatrix(targetCamera,
|
||||
screenSpaceMin, screenSpaceMax, skeletonGraphic.canvas.pixelRect.size);
|
||||
commandBuffer.SetProjectionMatrix(projectionMatrix);
|
||||
}
|
||||
|
||||
Vector2 targetCameraViewportSize = targetCamera.pixelRect.size;
|
||||
Rect viewportRect = new Rect(-screenSpaceMin * downScaleFactor, targetCameraViewportSize * downScaleFactor);
|
||||
Rect viewportRect = new Rect(Vector2.zero, targetViewportSize * downScaleFactor);
|
||||
commandBuffer.SetViewport(viewportRect);
|
||||
}
|
||||
|
||||
|
||||
@ -52,7 +52,6 @@ namespace Spine.Unity.Examples {
|
||||
[RequireComponent(typeof(SkeletonRenderer))]
|
||||
public class SkeletonRenderTexture : SkeletonRenderTextureBase {
|
||||
#if HAS_GET_SHARED_MATERIALS
|
||||
public Material quadMaterial;
|
||||
protected SkeletonRenderer skeletonRenderer;
|
||||
protected MeshRenderer meshRenderer;
|
||||
protected MeshFilter meshFilter;
|
||||
@ -87,6 +86,7 @@ namespace Spine.Unity.Examples {
|
||||
void CreateQuadChild () {
|
||||
quad = new GameObject(this.name + " RenderTexture", typeof(MeshRenderer), typeof(MeshFilter));
|
||||
quad.transform.SetParent(this.transform.parent, false);
|
||||
quad.layer = meshRenderer.gameObject.layer;
|
||||
quadMeshRenderer = quad.GetComponent<MeshRenderer>();
|
||||
quadMeshFilter = quad.GetComponent<MeshFilter>();
|
||||
|
||||
@ -129,6 +129,13 @@ namespace Spine.Unity.Examples {
|
||||
}
|
||||
|
||||
void RenderOntoQuad (SkeletonRenderer skeletonRenderer) {
|
||||
if (meshFilter == null)
|
||||
meshFilter = this.GetComponent<MeshFilter>();
|
||||
Vector3 size = meshFilter.sharedMesh.bounds.size;
|
||||
if (size.x == 0f || size.y == 0f) {
|
||||
AssignNullMeshAtQuad();
|
||||
return;
|
||||
}
|
||||
PrepareForMesh();
|
||||
RenderToRenderTexture();
|
||||
AssignAtQuad();
|
||||
@ -175,10 +182,16 @@ namespace Spine.Unity.Examples {
|
||||
commandBuffer.SetRenderTarget(renderTexture);
|
||||
commandBuffer.ClearRenderTarget(true, true, Color.clear);
|
||||
|
||||
commandBuffer.SetProjectionMatrix(targetCamera.projectionMatrix);
|
||||
commandBuffer.SetViewMatrix(targetCamera.worldToCameraMatrix);
|
||||
Vector2 targetCameraViewportSize = targetCamera.pixelRect.size;
|
||||
Rect viewportRect = new Rect(-screenSpaceMin * downScaleFactor, targetCameraViewportSize * downScaleFactor);
|
||||
|
||||
Matrix4x4 projectionMatrix = CalculateProjectionMatrix(targetCamera,
|
||||
screenSpaceMin, screenSpaceMax, targetCamera.pixelRect.size);
|
||||
commandBuffer.SetProjectionMatrix(projectionMatrix);
|
||||
|
||||
Vector2 targetViewportSize = new Vector2(
|
||||
screenSpaceMax.x - screenSpaceMin.x,
|
||||
screenSpaceMax.y - screenSpaceMin.y);
|
||||
Rect viewportRect = new Rect(Vector2.zero, targetViewportSize * downScaleFactor);
|
||||
commandBuffer.SetViewport(viewportRect);
|
||||
}
|
||||
|
||||
@ -186,9 +199,11 @@ namespace Spine.Unity.Examples {
|
||||
meshRenderer.GetPropertyBlock(propertyBlock);
|
||||
meshRenderer.GetSharedMaterials(materials);
|
||||
|
||||
for (int i = 0; i < materials.Count; i++)
|
||||
commandBuffer.DrawMesh(meshFilter.sharedMesh, transform.localToWorldMatrix,
|
||||
materials[i], meshRenderer.subMeshStartIndex + i, -1, propertyBlock);
|
||||
for (int i = 0; i < materials.Count; i++) {
|
||||
foreach (int shaderPass in shaderPasses)
|
||||
commandBuffer.DrawMesh(meshFilter.sharedMesh, transform.localToWorldMatrix,
|
||||
materials[i], meshRenderer.subMeshStartIndex + i, shaderPass, propertyBlock);
|
||||
}
|
||||
Graphics.ExecuteCommandBuffer(commandBuffer);
|
||||
}
|
||||
|
||||
@ -197,6 +212,10 @@ namespace Spine.Unity.Examples {
|
||||
quadMeshRenderer.sharedMaterial.mainTexture = this.renderTexture;
|
||||
quadMeshRenderer.sharedMaterial.color = color;
|
||||
}
|
||||
|
||||
protected void AssignNullMeshAtQuad () {
|
||||
quadMeshFilter.mesh = null;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -42,9 +42,14 @@ namespace Spine.Unity.Examples {
|
||||
public Color color = Color.white;
|
||||
public int maxRenderTextureSize = 1024;
|
||||
public GameObject quad;
|
||||
public Material quadMaterial;
|
||||
protected Mesh quadMesh;
|
||||
public RenderTexture renderTexture;
|
||||
public Camera targetCamera;
|
||||
[Tooltip("Shader passes to render to the RenderTexture. E.g. set the first element " +
|
||||
"to -1 to render all shader passes, or set it to 0 to only render the first " +
|
||||
"shader pass, which may be required when using URP or shadow-casting shaders.")]
|
||||
public int[] shaderPasses = new int[1] { 0 };
|
||||
|
||||
protected CommandBuffer commandBuffer;
|
||||
protected Vector2Int screenSize;
|
||||
@ -117,6 +122,45 @@ namespace Spine.Unity.Examples {
|
||||
}
|
||||
}
|
||||
|
||||
protected Matrix4x4 CalculateProjectionMatrix (Camera targetCamera,
|
||||
Vector3 screenSpaceMin, Vector3 screenSpaceMax, Vector2 fullSizePixels) {
|
||||
if (targetCamera.orthographic)
|
||||
return CalculateOrthoMatrix(targetCamera, screenSpaceMin, screenSpaceMax, fullSizePixels);
|
||||
else
|
||||
return CalculatePerspectiveMatrix(targetCamera, screenSpaceMin, screenSpaceMax, fullSizePixels);
|
||||
}
|
||||
|
||||
protected Matrix4x4 CalculateOrthoMatrix (Camera targetCamera,
|
||||
Vector3 screenSpaceMin, Vector3 screenSpaceMax, Vector2 fullSizePixels) {
|
||||
|
||||
Vector2 cameraSize = new Vector2(
|
||||
targetCamera.orthographicSize * 2.0f * targetCamera.aspect,
|
||||
targetCamera.orthographicSize * 2.0f);
|
||||
Vector2 min = new Vector2(screenSpaceMin.x, screenSpaceMin.y) / fullSizePixels;
|
||||
Vector2 max = new Vector2(screenSpaceMax.x, screenSpaceMax.y) / fullSizePixels;
|
||||
Vector2 centerOffset = new Vector2(-0.5f, -0.5f);
|
||||
min = (min + centerOffset) * cameraSize;
|
||||
max = (max + centerOffset) * cameraSize;
|
||||
|
||||
return Matrix4x4.Ortho(min.x, max.x, min.y, max.y, float.MinValue, float.MaxValue);
|
||||
}
|
||||
|
||||
protected Matrix4x4 CalculatePerspectiveMatrix (Camera targetCamera,
|
||||
Vector3 screenSpaceMin, Vector3 screenSpaceMax, Vector2 fullSizePixels) {
|
||||
|
||||
FrustumPlanes frustumPlanes = targetCamera.projectionMatrix.decomposeProjection;
|
||||
Vector2 planesSize = new Vector2(
|
||||
frustumPlanes.right - frustumPlanes.left,
|
||||
frustumPlanes.top - frustumPlanes.bottom);
|
||||
Vector2 min = new Vector2(screenSpaceMin.x, screenSpaceMin.y) / fullSizePixels * planesSize;
|
||||
Vector2 max = new Vector2(screenSpaceMax.x, screenSpaceMax.y) / fullSizePixels * planesSize;
|
||||
frustumPlanes.right = frustumPlanes.left + max.x;
|
||||
frustumPlanes.top = frustumPlanes.bottom + max.y;
|
||||
frustumPlanes.left += min.x;
|
||||
frustumPlanes.bottom += min.y;
|
||||
return Matrix4x4.Frustum(frustumPlanes);
|
||||
}
|
||||
|
||||
protected void AssignAtQuad () {
|
||||
Transform quadTransform = quad.transform;
|
||||
quadTransform.position = this.transform.position;
|
||||
|
||||
@ -269,7 +269,7 @@ namespace Spine.Unity.Examples {
|
||||
t.position -= offset;
|
||||
|
||||
UpdateSpineSkeleton(null);
|
||||
skeleton.UpdateWorldTransform();
|
||||
skeleton.UpdateWorldTransform(Skeleton.Physics.Update);
|
||||
}
|
||||
|
||||
/// <summary>Removes the ragdoll instance and effect from the animated skeleton.</summary>
|
||||
|
||||
@ -281,7 +281,7 @@ namespace Spine.Unity.Examples {
|
||||
t.position -= offset;
|
||||
|
||||
UpdateSpineSkeleton(null);
|
||||
skeleton.UpdateWorldTransform();
|
||||
skeleton.UpdateWorldTransform(Skeleton.Physics.Update);
|
||||
}
|
||||
|
||||
/// <summary>Removes the ragdoll instance and effect from the animated skeleton.</summary>
|
||||
|
||||
@ -56,7 +56,7 @@ namespace Spine.Unity.Examples {
|
||||
Skeleton skeleton = skeletonRenderer.skeleton; if (skeleton == null) return;
|
||||
|
||||
fillAnimation.Animation.Apply(skeleton, 0, percent, false, null, 1f, MixBlend.Setup, MixDirection.In);
|
||||
skeleton.UpdateWorldTransform();
|
||||
skeleton.UpdateWorldTransform(Skeleton.Physics.Update);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,128 +2,116 @@ dragon.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
back
|
||||
bounds: 564, 534, 190, 185
|
||||
chest
|
||||
bounds: 2, 645, 136, 122
|
||||
chin
|
||||
bounds: 140, 619, 214, 146
|
||||
front-toe-a
|
||||
bounds: 2, 862, 29, 50
|
||||
rotate: 90
|
||||
bounds: 797, 381, 29, 50
|
||||
front-toe-b
|
||||
bounds: 467, 835, 56, 57
|
||||
rotate: 90
|
||||
bounds: 942, 118, 56, 57
|
||||
head
|
||||
bounds: 756, 398, 296, 260
|
||||
bounds: 647, 81, 296, 260
|
||||
rotate: 90
|
||||
left-front-leg
|
||||
bounds: 599, 834, 84, 57
|
||||
bounds: 942, 250, 84, 57
|
||||
rotate: 90
|
||||
left-front-thigh
|
||||
bounds: 782, 819, 84, 72
|
||||
left-rear-leg
|
||||
bounds: 356, 558, 206, 177
|
||||
left-rear-thigh
|
||||
bounds: 216, 767, 91, 149
|
||||
rotate: 90
|
||||
bounds: 852, 7, 84, 72
|
||||
left-wing01
|
||||
bounds: 2, 268, 264, 589
|
||||
rotate: 90
|
||||
left-wing02
|
||||
bounds: 2, 2, 264, 589
|
||||
rotate: 90
|
||||
right-front-leg
|
||||
bounds: 113, 769, 101, 89
|
||||
right-front-thigh
|
||||
bounds: 758, 709, 108, 108
|
||||
right-rear-leg
|
||||
bounds: 640, 721, 116, 100
|
||||
right-rear-thigh
|
||||
bounds: 367, 742, 91, 149
|
||||
rotate: 90
|
||||
bounds: 736, 433, 264, 589
|
||||
right-rear-toe
|
||||
bounds: 2, 781, 109, 77
|
||||
tail01
|
||||
bounds: 868, 696, 120, 153
|
||||
rotate: 90
|
||||
tail02
|
||||
bounds: 518, 737, 95, 120
|
||||
bounds: 647, 2, 109, 77
|
||||
right-wing01
|
||||
bounds: 2, 379, 365, 643
|
||||
right-wing02
|
||||
bounds: 369, 379, 365, 643
|
||||
right-wing03
|
||||
bounds: 2, 12, 365, 643
|
||||
rotate: 90
|
||||
tail03
|
||||
bounds: 868, 818, 73, 92
|
||||
bounds: 758, 6, 73, 92
|
||||
rotate: 90
|
||||
tail04
|
||||
bounds: 526, 835, 56, 71
|
||||
rotate: 90
|
||||
bounds: 942, 177, 56, 71
|
||||
tail05
|
||||
bounds: 406, 839, 52, 59
|
||||
bounds: 736, 379, 52, 59
|
||||
rotate: 90
|
||||
tail06
|
||||
bounds: 685, 823, 95, 68
|
||||
bounds: 942, 336, 95, 68
|
||||
rotate: 90
|
||||
thiagobrayner
|
||||
bounds: 54, 860, 350, 31
|
||||
bounds: 909, 81, 350, 31
|
||||
rotate: 90
|
||||
|
||||
dragon2.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
left-wing03
|
||||
bounds: 2, 534, 264, 589
|
||||
back
|
||||
bounds: 795, 32, 190, 185
|
||||
chin
|
||||
bounds: 647, 157, 214, 146
|
||||
rotate: 90
|
||||
left-wing04
|
||||
bounds: 2, 268, 264, 589
|
||||
left-rear-leg
|
||||
bounds: 795, 219, 206, 177
|
||||
rotate: 90
|
||||
left-wing05
|
||||
bounds: 593, 209, 264, 589
|
||||
left-wing06
|
||||
bounds: 2, 2, 264, 589
|
||||
left-wing02
|
||||
bounds: 736, 427, 264, 589
|
||||
right-wing04
|
||||
bounds: 2, 373, 365, 643
|
||||
right-wing05
|
||||
bounds: 369, 373, 365, 643
|
||||
right-wing06
|
||||
bounds: 2, 6, 365, 643
|
||||
rotate: 90
|
||||
tail01
|
||||
bounds: 647, 2, 120, 153
|
||||
|
||||
dragon3.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
left-wing07
|
||||
bounds: 2, 694, 264, 589
|
||||
chest
|
||||
bounds: 740, 299, 136, 122
|
||||
left-rear-thigh
|
||||
bounds: 647, 218, 91, 149
|
||||
left-wing03
|
||||
bounds: 736, 423, 264, 589
|
||||
right-front-leg
|
||||
bounds: 850, 196, 101, 89
|
||||
rotate: 90
|
||||
left-wing08
|
||||
bounds: 2, 428, 264, 589
|
||||
rotate: 90
|
||||
left-wing09
|
||||
bounds: 593, 369, 264, 589
|
||||
right-wing01
|
||||
right-front-thigh
|
||||
bounds: 740, 189, 108, 108
|
||||
right-rear-leg
|
||||
bounds: 878, 321, 116, 100
|
||||
right-rear-thigh
|
||||
bounds: 647, 67, 91, 149
|
||||
right-wing07
|
||||
bounds: 2, 369, 365, 643
|
||||
right-wing08
|
||||
bounds: 369, 369, 365, 643
|
||||
right-wing09
|
||||
bounds: 2, 2, 365, 643
|
||||
rotate: 90
|
||||
tail02
|
||||
bounds: 740, 67, 95, 120
|
||||
|
||||
dragon4.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
right-wing02
|
||||
bounds: 2, 369, 365, 643
|
||||
right-wing03
|
||||
bounds: 369, 369, 365, 643
|
||||
right-wing04
|
||||
bounds: 2, 2, 365, 643
|
||||
left-wing04
|
||||
bounds: 2, 268, 264, 589
|
||||
left-wing05
|
||||
bounds: 268, 268, 264, 589
|
||||
left-wing06
|
||||
bounds: 534, 268, 264, 589
|
||||
left-wing07
|
||||
bounds: 2, 2, 264, 589
|
||||
rotate: 90
|
||||
|
||||
dragon5.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
right-wing05
|
||||
bounds: 2, 369, 365, 643
|
||||
right-wing06
|
||||
bounds: 369, 369, 365, 643
|
||||
right-wing07
|
||||
bounds: 2, 2, 365, 643
|
||||
rotate: 90
|
||||
|
||||
dragon6.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
right-wing08
|
||||
bounds: 2, 2, 365, 643
|
||||
right-wing09
|
||||
bounds: 369, 2, 365, 643
|
||||
left-wing08
|
||||
bounds: 2, 2, 264, 589
|
||||
left-wing09
|
||||
bounds: 268, 2, 264, 589
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "aPoA1GjXkVI",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "fE1TdXi9fk4",
|
||||
"spine": "4.2.22",
|
||||
"x": -366.31,
|
||||
"y": -327.81,
|
||||
"width": 660.39,
|
||||
|
||||
|
Before Width: | Height: | Size: 355 KiB After Width: | Height: | Size: 309 KiB |
@ -29,7 +29,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 216 KiB |
@ -27,7 +27,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 206 KiB |
@ -7,7 +7,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 26 KiB |
@ -7,7 +7,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 14 KiB |
@ -7,7 +7,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
|
Before Width: | Height: | Size: 80 KiB |
@ -21,4 +21,3 @@ MonoBehaviour:
|
||||
- {fileID: 2100000, guid: 46ebf60e37c48414f90b2f53f8ce4ea0, type: 2}
|
||||
- {fileID: 2100000, guid: 1cb51a81cfe737549beec4fdb1f16360, type: 2}
|
||||
- {fileID: 2100000, guid: bd1fb273f898c1e4482466fbdfdbd01e, type: 2}
|
||||
- {fileID: 2100000, guid: df19a30178772d14895780e0cbd7c25c, type: 2}
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -3,10 +3,10 @@ eyes.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
EyeLines
|
||||
bounds: 2, 2, 868, 322
|
||||
bounds: 2, 152, 868, 322
|
||||
EyeWhite
|
||||
bounds: 2, 326, 700, 148
|
||||
bounds: 2, 2, 700, 148
|
||||
L_Eye
|
||||
bounds: 704, 326, 148, 148
|
||||
bounds: 872, 326, 148, 148
|
||||
R_Eye
|
||||
bounds: 704, 326, 148, 148
|
||||
bounds: 872, 326, 148, 148
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "3Ru4PsHnfWE",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "bCPH+nfNatw",
|
||||
"spine": "4.2.22",
|
||||
"x": -434,
|
||||
"y": -133,
|
||||
"width": 868,
|
||||
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 30 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: eyes_Material
|
||||
m_Name: eyes_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f9d106a1e4d45b468b980311947a225
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -12,7 +12,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 51 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: FS_White_Material
|
||||
m_Name: FS_White_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a3598dafa118754db95756064347da7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "RGdJecpcnMU",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "sqPqrqoSm2E",
|
||||
"spine": "4.2.22",
|
||||
"x": -79.83,
|
||||
"y": -0.99,
|
||||
"width": 147.64,
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
Gauge.png
|
||||
size: 512, 128
|
||||
size: 1024, 64
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
Background
|
||||
bounds: 254, 36, 224, 32
|
||||
bounds: 254, 30, 224, 32
|
||||
Bar
|
||||
bounds: 254, 2, 224, 32
|
||||
bounds: 480, 30, 224, 32
|
||||
Border
|
||||
bounds: 2, 8, 250, 60
|
||||
bounds: 2, 2, 250, 60
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "Sz0QhWD6Eyg",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "TKIzjMjpnSk",
|
||||
"spine": "4.2.22",
|
||||
"x": -125,
|
||||
"y": -30,
|
||||
"width": 250,
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.0 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Gauge_Material
|
||||
m_Name: Gauge_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ab9bdbda020b3e46b5a3b0558ef591d
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -20,6 +20,7 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 1
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
@ -63,6 +64,7 @@ TextureImporter:
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
@ -89,30 +91,6 @@ TextureImporter:
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
@ -141,7 +119,6 @@ TextureImporter:
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -3,95 +3,100 @@ goblins.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
dagger
|
||||
bounds: 2, 18, 26, 108
|
||||
bounds: 372, 100, 26, 108
|
||||
rotate: 90
|
||||
goblin/eyes-closed
|
||||
bounds: 2, 4, 34, 12
|
||||
bounds: 2, 7, 34, 12
|
||||
goblin/head
|
||||
bounds: 113, 23, 103, 66
|
||||
rotate: 90
|
||||
bounds: 107, 36, 103, 66
|
||||
goblin/left-arm
|
||||
bounds: 937, 89, 37, 35
|
||||
rotate: 90
|
||||
bounds: 901, 56, 37, 35
|
||||
goblin/left-foot
|
||||
bounds: 609, 61, 65, 31
|
||||
rotate: 90
|
||||
bounds: 929, 95, 65, 31
|
||||
goblin/left-hand
|
||||
bounds: 840, 21, 36, 41
|
||||
bounds: 452, 2, 36, 41
|
||||
goblin/left-lower-leg
|
||||
bounds: 504, 56, 33, 70
|
||||
bounds: 713, 93, 33, 70
|
||||
rotate: 90
|
||||
goblin/left-shoulder
|
||||
bounds: 745, 17, 29, 44
|
||||
bounds: 610, 44, 29, 44
|
||||
goblin/left-upper-leg
|
||||
bounds: 397, 53, 33, 73
|
||||
bounds: 638, 93, 33, 73
|
||||
rotate: 90
|
||||
goblin/neck
|
||||
bounds: 862, 85, 36, 41
|
||||
bounds: 490, 2, 36, 41
|
||||
goblin/pelvis
|
||||
bounds: 776, 18, 62, 43
|
||||
bounds: 482, 45, 62, 43
|
||||
goblin/right-arm
|
||||
bounds: 181, 5, 23, 50
|
||||
bounds: 690, 2, 23, 50
|
||||
rotate: 90
|
||||
goblin/right-foot
|
||||
bounds: 747, 63, 63, 33
|
||||
rotate: 90
|
||||
bounds: 771, 58, 63, 33
|
||||
goblin/right-hand
|
||||
bounds: 878, 3, 36, 37
|
||||
bounds: 940, 56, 36, 37
|
||||
goblin/right-lower-leg
|
||||
bounds: 321, 50, 36, 76
|
||||
goblin/right-shoulder
|
||||
bounds: 663, 14, 39, 45
|
||||
goblin/right-upper-leg
|
||||
bounds: 675, 63, 34, 63
|
||||
goblin/torso
|
||||
bounds: 181, 30, 68, 96
|
||||
goblin/undie-straps
|
||||
bounds: 38, 2, 55, 19
|
||||
goblin/undies
|
||||
bounds: 974, 97, 36, 29
|
||||
goblingirl/eyes-closed
|
||||
bounds: 397, 30, 37, 21
|
||||
goblingirl/head
|
||||
bounds: 30, 23, 103, 81
|
||||
bounds: 482, 90, 36, 76
|
||||
rotate: 90
|
||||
goblin/right-shoulder
|
||||
bounds: 602, 3, 39, 45
|
||||
rotate: 90
|
||||
goblin/right-upper-leg
|
||||
bounds: 641, 57, 34, 63
|
||||
rotate: 90
|
||||
goblin/torso
|
||||
bounds: 212, 34, 68, 96
|
||||
rotate: 90
|
||||
goblin/undie-straps
|
||||
bounds: 380, 5, 55, 19
|
||||
goblin/undies
|
||||
bounds: 174, 5, 36, 29
|
||||
goblingirl/eyes-closed
|
||||
bounds: 269, 11, 37, 21
|
||||
goblingirl/head
|
||||
bounds: 2, 21, 103, 81
|
||||
goblingirl/left-arm
|
||||
bounds: 916, 8, 37, 35
|
||||
bounds: 978, 56, 37, 35
|
||||
rotate: 90
|
||||
goblingirl/left-foot
|
||||
bounds: 642, 61, 65, 31
|
||||
rotate: 90
|
||||
bounds: 107, 3, 65, 31
|
||||
goblingirl/left-hand
|
||||
bounds: 900, 86, 35, 40
|
||||
bounds: 565, 2, 35, 40
|
||||
goblingirl/left-lower-leg
|
||||
bounds: 539, 56, 33, 70
|
||||
bounds: 785, 93, 33, 70
|
||||
rotate: 90
|
||||
goblingirl/left-shoulder
|
||||
bounds: 633, 13, 28, 46
|
||||
bounds: 690, 27, 28, 46
|
||||
rotate: 90
|
||||
goblingirl/left-upper-leg
|
||||
bounds: 574, 56, 33, 70
|
||||
bounds: 857, 93, 33, 70
|
||||
rotate: 90
|
||||
goblingirl/neck
|
||||
bounds: 878, 42, 35, 41
|
||||
bounds: 528, 2, 35, 41
|
||||
goblingirl/pelvis
|
||||
bounds: 817, 64, 62, 43
|
||||
rotate: 90
|
||||
bounds: 546, 45, 62, 43
|
||||
goblingirl/right-arm
|
||||
bounds: 603, 4, 28, 50
|
||||
bounds: 452, 48, 28, 50
|
||||
goblingirl/right-foot
|
||||
bounds: 782, 63, 63, 33
|
||||
rotate: 90
|
||||
bounds: 836, 58, 63, 33
|
||||
goblingirl/right-hand
|
||||
bounds: 915, 47, 36, 37
|
||||
goblingirl/right-lower-leg
|
||||
bounds: 359, 50, 36, 76
|
||||
goblingirl/right-shoulder
|
||||
bounds: 704, 16, 39, 45
|
||||
goblingirl/right-upper-leg
|
||||
bounds: 711, 63, 34, 63
|
||||
goblingirl/torso
|
||||
bounds: 251, 30, 68, 96
|
||||
goblingirl/undie-straps
|
||||
bounds: 95, 2, 55, 19
|
||||
goblingirl/undies
|
||||
bounds: 974, 66, 36, 29
|
||||
shield
|
||||
bounds: 432, 54, 70, 72
|
||||
spear
|
||||
bounds: 233, 6, 22, 368
|
||||
bounds: 771, 20, 36, 37
|
||||
rotate: 90
|
||||
goblingirl/right-lower-leg
|
||||
bounds: 560, 90, 36, 76
|
||||
rotate: 90
|
||||
goblingirl/right-shoulder
|
||||
bounds: 649, 10, 39, 45
|
||||
goblingirl/right-upper-leg
|
||||
bounds: 706, 57, 34, 63
|
||||
rotate: 90
|
||||
goblingirl/torso
|
||||
bounds: 310, 2, 68, 96
|
||||
goblingirl/undie-straps
|
||||
bounds: 212, 13, 55, 19
|
||||
goblingirl/undies
|
||||
bounds: 810, 27, 36, 29
|
||||
shield
|
||||
bounds: 380, 26, 70, 72
|
||||
spear
|
||||
bounds: 2, 104, 22, 368
|
||||
rotate: 90
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "CdaHvXeCMjE",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "r8iwnU9Tvmc",
|
||||
"spine": "4.2.22",
|
||||
"x": -134.12,
|
||||
"y": -3.28,
|
||||
"width": 266.94,
|
||||
|
||||
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 139 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: goblins_Material
|
||||
m_Name: goblins_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,8 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _Black: {r: 1, g: 0, b: 0, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 54091ef934c41eb4192f72bfd8e3bcc9
|
||||
timeCreated: 1467115504
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -3,59 +3,58 @@ hero-pro.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
body
|
||||
bounds: 452, 157, 97, 95
|
||||
rotate: 90
|
||||
bounds: 324, 88, 97, 95
|
||||
cape
|
||||
bounds: 247, 95, 146, 159
|
||||
bounds: 176, 95, 146, 159
|
||||
chain-ball
|
||||
bounds: 241, 11, 64, 68
|
||||
bounds: 423, 115, 64, 68
|
||||
chain-flat
|
||||
bounds: 241, 4, 16, 5
|
||||
bounds: 2, 2, 16, 5
|
||||
chain-round
|
||||
bounds: 307, 10, 17, 14
|
||||
rotate: 90
|
||||
bounds: 423, 99, 17, 14
|
||||
eyes
|
||||
bounds: 68, 5, 82, 31
|
||||
bounds: 678, 223, 82, 31
|
||||
fingers
|
||||
bounds: 2, 3, 31, 33
|
||||
bounds: 948, 221, 31, 33
|
||||
foot1
|
||||
bounds: 483, 2, 50, 42
|
||||
bounds: 762, 212, 50, 42
|
||||
foot2
|
||||
bounds: 185, 41, 53, 38
|
||||
bounds: 140, 26, 53, 38
|
||||
rotate: 90
|
||||
forearm1
|
||||
bounds: 73, 38, 41, 49
|
||||
bounds: 814, 213, 41, 49
|
||||
rotate: 90
|
||||
forearm2
|
||||
bounds: 35, 4, 31, 32
|
||||
bounds: 981, 222, 31, 32
|
||||
hand1
|
||||
bounds: 191, 2, 37, 48
|
||||
bounds: 865, 217, 37, 48
|
||||
rotate: 90
|
||||
hand2
|
||||
bounds: 152, 7, 31, 37
|
||||
rotate: 90
|
||||
bounds: 915, 217, 31, 37
|
||||
handle
|
||||
bounds: 323, 13, 134, 14
|
||||
bounds: 542, 240, 134, 14
|
||||
head
|
||||
bounds: 73, 81, 172, 173
|
||||
bounds: 2, 81, 172, 173
|
||||
mantles
|
||||
bounds: 395, 118, 136, 55
|
||||
rotate: 90
|
||||
bounds: 2, 24, 136, 55
|
||||
mouth
|
||||
bounds: 395, 103, 61, 13
|
||||
bounds: 2, 9, 61, 13
|
||||
shin1
|
||||
bounds: 428, 44, 53, 57
|
||||
bounds: 542, 126, 53, 57
|
||||
rotate: 90
|
||||
shin2
|
||||
bounds: 458, 104, 51, 54
|
||||
rotate: 90
|
||||
bounds: 489, 129, 51, 54
|
||||
sword
|
||||
bounds: 2, 38, 216, 69
|
||||
rotate: 90
|
||||
bounds: 324, 185, 216, 69
|
||||
thigh1
|
||||
bounds: 366, 30, 60, 63
|
||||
thigh2
|
||||
bounds: 307, 29, 57, 64
|
||||
upper-arm1
|
||||
bounds: 483, 46, 50, 56
|
||||
upper-arm2
|
||||
bounds: 124, 40, 39, 59
|
||||
bounds: 608, 178, 60, 63
|
||||
rotate: 90
|
||||
thigh2
|
||||
bounds: 542, 181, 57, 64
|
||||
rotate: 90
|
||||
upper-arm1
|
||||
bounds: 601, 126, 50, 56
|
||||
rotate: 90
|
||||
upper-arm2
|
||||
bounds: 673, 182, 39, 59
|
||||
rotate: 90
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "iMg/Nef4GhU",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "1GKrwevyJb4",
|
||||
"spine": "4.2.22",
|
||||
"x": -85.7,
|
||||
"y": -0.02,
|
||||
"width": 321.77,
|
||||
@ -34,7 +34,7 @@
|
||||
"rotation": -90.96,
|
||||
"x": 28.17,
|
||||
"y": -0.49,
|
||||
"transform": "noRotationOrReflection"
|
||||
"inherit": "noRotationOrReflection"
|
||||
},
|
||||
{ "name": "right-ground", "parent": "root", "x": 28.12, "y": 0.26, "color": "ff0000ff" },
|
||||
{ "name": "right-ankle", "parent": "right-ground", "y": 31.79, "color": "ff3f00ff" },
|
||||
@ -47,7 +47,7 @@
|
||||
"rotation": -90.42,
|
||||
"x": 25.55,
|
||||
"y": 0.28,
|
||||
"transform": "noRotationOrReflection"
|
||||
"inherit": "noRotationOrReflection"
|
||||
},
|
||||
{ "name": "upper-arm1", "parent": "body", "length": 19.36, "rotation": 130.11, "x": 52.5, "y": 41.85 },
|
||||
{ "name": "forearm1", "parent": "upper-arm1", "length": 22.06, "rotation": 30.56, "x": 23.97, "y": 5.16 },
|
||||
@ -309,7 +309,7 @@
|
||||
},
|
||||
{
|
||||
"name": "weapon/morningstar",
|
||||
"bones": [ "chain4", "weapon-morningstar-physics2", "weapon-morningstar-physics1", "weapon-morningstar-physics3", "chain8", "chain1", "chain6", "weapon-morningstar", "chain5", "chain7", "weapon-morningstar-physics4", "chain2", "chain3" ],
|
||||
"bones": [ "chain1", "chain2", "chain3", "chain4", "chain5", "chain6", "chain7", "chain8", "weapon-morningstar", "weapon-morningstar-physics1", "weapon-morningstar-physics2", "weapon-morningstar-physics3", "weapon-morningstar-physics4" ],
|
||||
"path": [ "weapon-morningstar" ]
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 85 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,8 +7,8 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: hero-pro_Material
|
||||
m_Shader: {fileID: 4800000, guid: 45495790b394f894a967dbf44489b57b, type: 3}
|
||||
m_Name: hero-pro_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
@ -28,7 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _FillPhase: 0
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -39,7 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _FillColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9aa2023c2c91b254f9cb0a4fba19af00
|
||||
timeCreated: 1524005968
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@ -3,14 +3,11 @@ Raggedy Spineboy.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
arm
|
||||
bounds: 2, 140, 71, 75
|
||||
rotate: 90
|
||||
bounds: 140, 178, 71, 75
|
||||
head
|
||||
bounds: 2, 2, 136, 187
|
||||
rotate: 90
|
||||
bounds: 2, 66, 136, 187
|
||||
leg
|
||||
bounds: 2, 213, 36, 99
|
||||
rotate: 90
|
||||
bounds: 140, 77, 36, 99
|
||||
torso
|
||||
bounds: 103, 187, 62, 95
|
||||
bounds: 2, 2, 62, 95
|
||||
rotate: 90
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Raggedy Spineboy_Material
|
||||
m_Name: Raggedy Spineboy_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4ad4f7167d4983147ad870f93ebc9416
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "ukmbgK+14T0",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "y7rWjT0Whbg",
|
||||
"spine": "4.2.22",
|
||||
"x": -78.45,
|
||||
"y": -9.66,
|
||||
"width": 157.48,
|
||||
|
||||
@ -3,91 +3,84 @@ raptor.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
back_arm
|
||||
bounds: 827, 536, 46, 29
|
||||
rotate: 90
|
||||
bounds: 410, 545, 46, 29
|
||||
back_bracer
|
||||
bounds: 710, 490, 39, 28
|
||||
rotate: 90
|
||||
bounds: 540, 548, 39, 28
|
||||
back_hand
|
||||
bounds: 741, 520, 36, 34
|
||||
bounds: 504, 538, 36, 34
|
||||
rotate: 90
|
||||
back_knee
|
||||
bounds: 560, 668, 49, 67
|
||||
bounds: 299, 478, 49, 67
|
||||
back_thigh
|
||||
bounds: 779, 530, 39, 24
|
||||
bounds: 140, 247, 39, 24
|
||||
rotate: 90
|
||||
eyes_open
|
||||
bounds: 953, 499, 47, 45
|
||||
bounds: 2, 2, 47, 45
|
||||
rotate: 90
|
||||
front_arm
|
||||
bounds: 831, 633, 48, 30
|
||||
rotate: 90
|
||||
bounds: 360, 544, 48, 30
|
||||
front_bracer
|
||||
bounds: 710, 531, 41, 29
|
||||
rotate: 90
|
||||
bounds: 538, 578, 41, 29
|
||||
front_hand
|
||||
bounds: 831, 729, 41, 38
|
||||
rotate: 90
|
||||
bounds: 538, 609, 41, 38
|
||||
front_open_hand
|
||||
bounds: 543, 499, 43, 44
|
||||
rotate: 90
|
||||
bounds: 894, 782, 43, 44
|
||||
front_thigh
|
||||
bounds: 831, 772, 57, 29
|
||||
rotate: 90
|
||||
bounds: 942, 849, 57, 29
|
||||
gun
|
||||
bounds: 382, 553, 107, 103
|
||||
bounds: 785, 774, 107, 103
|
||||
gun_nohand
|
||||
bounds: 603, 470, 105, 102
|
||||
bounds: 614, 703, 105, 102
|
||||
head
|
||||
bounds: 873, 731, 136, 149
|
||||
rotate: 90
|
||||
bounds: 2, 137, 136, 149
|
||||
lower_leg
|
||||
bounds: 858, 447, 73, 98
|
||||
bounds: 780, 699, 73, 98
|
||||
rotate: 90
|
||||
mouth_smile
|
||||
bounds: 827, 584, 47, 30
|
||||
bounds: 49, 2, 47, 30
|
||||
rotate: 90
|
||||
neck
|
||||
bounds: 933, 524, 18, 21
|
||||
raptor_arm_back
|
||||
bounds: 933, 415, 82, 86
|
||||
bounds: 1001, 860, 18, 21
|
||||
rotate: 90
|
||||
raptor_arm_back
|
||||
bounds: 940, 936, 82, 86
|
||||
raptor_body
|
||||
bounds: 2, 737, 610, 285
|
||||
raptor_front_arm
|
||||
bounds: 744, 556, 81, 102
|
||||
bounds: 195, 464, 81, 102
|
||||
rotate: 90
|
||||
raptor_front_leg
|
||||
bounds: 614, 831, 191, 257
|
||||
rotate: 90
|
||||
bounds: 2, 478, 191, 257
|
||||
raptor_hindleg_back
|
||||
bounds: 614, 660, 169, 215
|
||||
rotate: 90
|
||||
bounds: 614, 807, 169, 215
|
||||
raptor_horn
|
||||
bounds: 871, 547, 182, 80
|
||||
rotate: 90
|
||||
bounds: 360, 655, 182, 80
|
||||
raptor_horn_back
|
||||
bounds: 382, 658, 176, 77
|
||||
bounds: 360, 576, 176, 77
|
||||
raptor_jaw
|
||||
bounds: 873, 869, 153, 143
|
||||
rotate: 90
|
||||
bounds: 785, 879, 153, 143
|
||||
raptor_saddle_noshadow
|
||||
bounds: 2, 572, 163, 188
|
||||
rotate: 90
|
||||
bounds: 2, 288, 163, 188
|
||||
raptor_saddle_strap_front
|
||||
bounds: 953, 546, 57, 95
|
||||
bounds: 721, 710, 57, 95
|
||||
raptor_saddle_strap_rear
|
||||
bounds: 547, 544, 54, 74
|
||||
raptor_saddle_w_shadow
|
||||
bounds: 192, 572, 163, 188
|
||||
bounds: 940, 880, 54, 74
|
||||
rotate: 90
|
||||
raptor_saddle_w_shadow
|
||||
bounds: 195, 547, 163, 188
|
||||
raptor_tongue
|
||||
bounds: 953, 643, 86, 64
|
||||
bounds: 544, 649, 86, 64
|
||||
rotate: 90
|
||||
stirrup_back
|
||||
bounds: 831, 683, 44, 35
|
||||
rotate: 90
|
||||
bounds: 458, 539, 44, 35
|
||||
stirrup_front
|
||||
bounds: 491, 518, 45, 50
|
||||
bounds: 81, 4, 45, 50
|
||||
rotate: 90
|
||||
stirrup_strap
|
||||
bounds: 560, 620, 49, 46
|
||||
bounds: 894, 828, 49, 46
|
||||
rotate: 90
|
||||
torso
|
||||
bounds: 491, 565, 54, 91
|
||||
bounds: 610, 647, 54, 91
|
||||
rotate: 90
|
||||
visor
|
||||
bounds: 611, 574, 131, 84
|
||||
bounds: 2, 51, 131, 84
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "8C0Q8jcbsuI",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "4YKjYFOYC7w",
|
||||
"spine": "4.2.22",
|
||||
"x": -402.84,
|
||||
"y": -35.99,
|
||||
"width": 611.87,
|
||||
@ -110,7 +110,7 @@
|
||||
"rotation": 9.21,
|
||||
"x": 21.84,
|
||||
"y": 0.03,
|
||||
"transform": "noRotationOrReflection",
|
||||
"inherit": "noRotationOrReflection",
|
||||
"color": "ffffffff"
|
||||
},
|
||||
{ "name": "spineboy_rear_arm_goal", "parent": "saddle", "x": -15.22, "y": -50.04, "color": "ff3f00ff" },
|
||||
@ -226,7 +226,7 @@
|
||||
"y": -0.01,
|
||||
"scaleX": 0.731,
|
||||
"scaleY": 0.823,
|
||||
"transform": "noRotationOrReflection",
|
||||
"inherit": "noRotationOrReflection",
|
||||
"color": "15ff00ff"
|
||||
},
|
||||
{
|
||||
@ -237,7 +237,7 @@
|
||||
"x": 24.85,
|
||||
"y": 10.33,
|
||||
"scaleX": 1.155,
|
||||
"transform": "noRotationOrReflection",
|
||||
"inherit": "noRotationOrReflection",
|
||||
"color": "15ff00ff"
|
||||
},
|
||||
{
|
||||
@ -256,7 +256,7 @@
|
||||
"rotation": 13.9,
|
||||
"x": 19.99,
|
||||
"y": -0.45,
|
||||
"transform": "noRotationOrReflection",
|
||||
"inherit": "noRotationOrReflection",
|
||||
"color": "ffffffff"
|
||||
},
|
||||
{ "name": "spineboy_front_arm_goal", "parent": "saddle", "x": -25.35, "y": -48.47, "color": "ff3f00ff" },
|
||||
@ -314,7 +314,7 @@
|
||||
"rotation": -140.14,
|
||||
"x": 14.69,
|
||||
"y": -20.08,
|
||||
"transform": "noScale",
|
||||
"inherit": "noScale",
|
||||
"color": "ffff00ff"
|
||||
},
|
||||
{
|
||||
@ -372,7 +372,7 @@
|
||||
"rotation": -6.14,
|
||||
"x": 42.25,
|
||||
"y": -0.17,
|
||||
"transform": "noRotationOrReflection",
|
||||
"inherit": "noRotationOrReflection",
|
||||
"color": "e07800ff"
|
||||
},
|
||||
{
|
||||
@ -770,7 +770,7 @@
|
||||
"raptor_tongue": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 0.35242, 0.21561, 0.4794, 0.44246, 0.62072, 0.61177, 0.80563, 0.75374, 1, 0.90297, 1, 1, 0.8971, 1, 0.72055, 0.92255, 0.50668, 0.82872, 0.30402, 0.70725, 0.10537, 0.57889, 0, 0.50622, 0, 0, 0.26225, 0 ],
|
||||
"triangles": [ 7, 8, 3, 6, 7, 3, 4, 6, 3, 6, 4, 5, 8, 7, 6, 9, 1, 2, 8, 9, 2, 9, 10, 1, 8, 2, 3, 0, 11, 12, 0, 12, 13, 10, 11, 0, 1, 10, 0 ],
|
||||
"triangles": [],
|
||||
"vertices": [ 2, 63, 1.82, 13.52, 0.6875, 64, -23.64, 16.94, 0.3125, 3, 63, 19.55, 9.73, 0.3125, 64, -6.71, 10.44, 0.625, 65, -25.77, 16.69, 0.0625, 3, 63, 35.78, 9.52, 0.0625, 64, 9.3, 7.7, 0.625, 65, -10.78, 10.46, 0.3125, 2, 64, 27.51, 8.43, 0.3125, 65, 7.14, 7.12, 0.6875, 2, 64, 46.67, 9.2, 0.08333, 65, 25.99, 3.61, 0.91667, 1, 65, 28.05, -2.26, 1, 2, 64, 42.53, -0.75, 0.08333, 65, 19.75, -5.16, 0.91667, 2, 64, 27.11, -4.59, 0.3125, 65, 3.86, -5.49, 0.6875, 3, 63, 37.57, -7.36, 0.0625, 64, 8.44, -9.25, 0.625, 65, -15.39, -5.87, 0.3125, 3, 63, 19.4, -12.9, 0.3125, 64, -10.37, -11.9, 0.625, 65, -34.31, -4.27, 0.0625, 2, 63, 1.2, -17.89, 0.6875, 64, -29.12, -13.99, 0.3125, 2, 63, -8.65, -20.32, 0.91667, 64, -39.23, -14.86, 0.08333, 1, 63, -29.96, 4.09, 1, 2, 63, -13.07, 18.84, 0.91667, 64, -37.51, 24.51, 0.08333 ],
|
||||
"hull": 14,
|
||||
"edges": [ 22, 24, 10, 12, 10, 8, 24, 26, 16, 4, 18, 16, 2, 4, 18, 2, 22, 20, 0, 26, 20, 0, 0, 2, 12, 14, 14, 16, 4, 6, 6, 8, 14, 6, 20, 18 ],
|
||||
|
||||
|
Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 436 KiB |
@ -43,7 +43,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,12 +7,12 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: raptor_Material
|
||||
m_Shader: {fileID: 4800000, guid: 522f03282fd79be47b306e2ef4b593fd, type: 3}
|
||||
m_Name: raptor_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -28,7 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _DarkColorAlphaAdditive: 0
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -39,8 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _Black: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e2feebfcaa26a54ab19f1ff3e0eae35
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -3,95 +3,93 @@ Doi.png
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
armL
|
||||
bounds: 2, 5, 163, 133
|
||||
rotate: 90
|
||||
bounds: 2, 36, 163, 133
|
||||
armR
|
||||
bounds: 425, 82, 133, 109
|
||||
bounds: 167, 36, 133, 109
|
||||
rotate: 90
|
||||
arrow
|
||||
bounds: 414, 12, 64, 85
|
||||
rotate: 90
|
||||
bounds: 609, 334, 64, 85
|
||||
body
|
||||
bounds: 2, 170, 274, 339
|
||||
bounds: 2, 171, 274, 339
|
||||
bootR
|
||||
bounds: 456, 198, 91, 84
|
||||
bounds: 783, 426, 91, 84
|
||||
browL
|
||||
bounds: 610, 94, 40, 22
|
||||
rotate: 90
|
||||
bounds: 126, 12, 40, 22
|
||||
browR
|
||||
bounds: 629, 60, 32, 25
|
||||
bounds: 2, 2, 32, 25
|
||||
rotate: 90
|
||||
eyelids closed
|
||||
bounds: 137, 76, 183, 92
|
||||
bounds: 278, 191, 183, 92
|
||||
eyelids open
|
||||
bounds: 278, 193, 176, 89
|
||||
bounds: 502, 421, 176, 89
|
||||
hairL
|
||||
bounds: 652, 449, 54, 60
|
||||
bounds: 548, 239, 54, 60
|
||||
hairL2
|
||||
bounds: 587, 313, 71, 76
|
||||
bounds: 385, 49, 71, 76
|
||||
hairM
|
||||
bounds: 501, 3, 96, 77
|
||||
bounds: 876, 433, 96, 77
|
||||
hairM blob
|
||||
bounds: 609, 394, 30, 45
|
||||
bounds: 29, 4, 30, 45
|
||||
rotate: 90
|
||||
hairM blobS
|
||||
bounds: 298, 171, 16, 20
|
||||
bounds: 448, 146, 16, 20
|
||||
hairR
|
||||
bounds: 609, 426, 41, 83
|
||||
bounds: 974, 427, 41, 83
|
||||
hairR2
|
||||
bounds: 322, 78, 94, 101
|
||||
bounds: 680, 416, 94, 101
|
||||
rotate: 90
|
||||
hairSide
|
||||
bounds: 560, 88, 48, 24
|
||||
bounds: 76, 10, 48, 24
|
||||
head
|
||||
bounds: 278, 284, 222, 225
|
||||
bounds: 278, 285, 222, 225
|
||||
indexL
|
||||
bounds: 624, 174, 24, 36
|
||||
bounds: 640, 260, 24, 36
|
||||
indexR
|
||||
bounds: 599, 13, 34, 28
|
||||
rotate: 90
|
||||
bounds: 207, 6, 34, 28
|
||||
inmouth
|
||||
bounds: 656, 392, 46, 55
|
||||
bounds: 548, 191, 46, 55
|
||||
rotate: 90
|
||||
irisL
|
||||
bounds: 560, 163, 34, 47
|
||||
bounds: 609, 298, 34, 47
|
||||
rotate: 90
|
||||
irisL flatspec
|
||||
bounds: 358, 181, 19, 10
|
||||
bounds: 278, 41, 19, 10
|
||||
irisL spec
|
||||
bounds: 278, 170, 18, 21
|
||||
bounds: 448, 168, 18, 21
|
||||
irisR
|
||||
bounds: 560, 114, 34, 47
|
||||
bounds: 604, 249, 34, 47
|
||||
irisR flatspec
|
||||
bounds: 334, 180, 22, 11
|
||||
bounds: 502, 288, 22, 11
|
||||
irisR spec
|
||||
bounds: 316, 174, 16, 17
|
||||
bounds: 448, 127, 16, 17
|
||||
middleL
|
||||
bounds: 596, 174, 26, 36
|
||||
bounds: 243, 8, 26, 36
|
||||
rotate: 90
|
||||
middleR
|
||||
bounds: 623, 138, 34, 26
|
||||
bounds: 766, 342, 34, 26
|
||||
rotate: 90
|
||||
mouth
|
||||
bounds: 502, 300, 89, 83
|
||||
rotate: 90
|
||||
bounds: 675, 331, 89, 83
|
||||
nose
|
||||
bounds: 379, 180, 11, 10
|
||||
rotate: 90
|
||||
bounds: 658, 322, 11, 10
|
||||
pinkyL
|
||||
bounds: 629, 31, 24, 27
|
||||
bounds: 605, 191, 24, 27
|
||||
rotate: 90
|
||||
pony1
|
||||
bounds: 307, 2, 72, 105
|
||||
bounds: 278, 53, 72, 105
|
||||
rotate: 90
|
||||
pony2
|
||||
bounds: 549, 212, 86, 83
|
||||
bounds: 463, 197, 86, 83
|
||||
rotate: 90
|
||||
ringL
|
||||
bounds: 634, 106, 26, 30
|
||||
bounds: 605, 217, 26, 30
|
||||
rotate
|
||||
bounds: 502, 391, 105, 118
|
||||
bounds: 502, 301, 105, 118
|
||||
strap
|
||||
bounds: 137, 12, 62, 168
|
||||
bounds: 278, 127, 62, 168
|
||||
rotate: 90
|
||||
thumbL
|
||||
bounds: 599, 49, 37, 28
|
||||
rotate: 90
|
||||
bounds: 168, 6, 37, 28
|
||||
thumbR
|
||||
bounds: 596, 136, 36, 25
|
||||
bounds: 766, 378, 36, 25
|
||||
rotate: 90
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "8oWe7nDoZEk",
|
||||
"spine": "4.1.23-beta",
|
||||
"hash": "bpqXaGsNIZs",
|
||||
"spine": "4.2.22",
|
||||
"x": -214.04,
|
||||
"y": -80.91,
|
||||
"width": 519.95,
|
||||
|
||||
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -7,7 +7,7 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Doi_Material
|
||||
m_Name: Doi_material
|
||||
m_Shader: {fileID: 4800000, guid: 1e8a610c9e01c3648bac42585e5fc676, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
@ -28,6 +28,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.1
|
||||
- _Fill: 0
|
||||
- _OutlineMipLevel: 0
|
||||
- _OutlineOpaqueAlpha: 1
|
||||
- _OutlineReferenceTexWidth: 1024
|
||||
@ -38,6 +39,7 @@ Material:
|
||||
- _StraightAlphaInput: 0
|
||||
- _ThresholdEnd: 0.25
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
m_Colors:
|
||||
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2745674eb28031e499ac70ef825b153e
|
||||
timeCreated: 1560705704
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@ -8,7 +8,7 @@ TextureImporter:
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
|
||||
@ -9,13 +9,8 @@ Material:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: stretchyman-diffuse-pma_Material
|
||||
m_Shader: {fileID: 4800000, guid: 2ce511398fb980f41b7d316c51534590, type: 3}
|
||||
m_ValidKeywords:
|
||||
- _ALPHAPREMULTIPLY_ON
|
||||
- _EMISSION
|
||||
- _FIXED_NORMALS_VIEWSPACE
|
||||
- _NORMALMAP
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _FIXED_NORMALS
|
||||
- _USE8NEIGHBOURHOOD_ON
|
||||
m_LightmapFlags: 5
|
||||
m_EnableInstancingVariants: 0
|
||||
@ -70,6 +65,7 @@ Material:
|
||||
- _DstBlend: 10
|
||||
- _EmissionPower: 1
|
||||
- _EnableExternalAlpha: 0
|
||||
- _Fill: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _Hue: 0
|
||||
@ -90,6 +86,7 @@ Material:
|
||||
- _ThresholdEnd: 0.25
|
||||
- _TintBlack: 0
|
||||
- _Use8Neighbourhood: 1
|
||||
- _UseScreenSpaceOutlineWidth: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Black: {r: 0, g: 0, b: 0, a: 0}
|
||||
|
||||
@ -1,59 +1,147 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d00f264cbe0cc4a49a54a221ee812855
|
||||
timeCreated: 1479531896
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 1
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -3
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: 16
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 1
|
||||
buildTargetSettings: []
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e028c83389c4464aaef0549ee646686
|
||||
guid: 2cae596f8e1fa2b47ad0709b67cc2444
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
174
Assets/ThirdParty/Spine Examples/Spine Skeletons/celestial-circus/celestial-circus-pma.atlas.txt
vendored
Normal file
@ -0,0 +1,174 @@
|
||||
celestial-circus-pma.png
|
||||
size: 1024, 1024
|
||||
filter: Linear, Linear
|
||||
pma: true
|
||||
scale: 0.4
|
||||
arm-back-down
|
||||
bounds: 324, 401, 38, 82
|
||||
rotate: 90
|
||||
arm-back-up
|
||||
bounds: 290, 44, 83, 116
|
||||
rotate: 90
|
||||
arm-front-down
|
||||
bounds: 706, 2, 36, 78
|
||||
rotate: 90
|
||||
arm-front-up
|
||||
bounds: 860, 138, 77, 116
|
||||
bench
|
||||
bounds: 725, 256, 189, 48
|
||||
body-bottom
|
||||
bounds: 879, 868, 154, 124
|
||||
rotate: 90
|
||||
body-top
|
||||
bounds: 725, 128, 126, 133
|
||||
rotate: 90
|
||||
chest
|
||||
bounds: 408, 26, 104, 93
|
||||
cloud-back
|
||||
bounds: 752, 378, 202, 165
|
||||
cloud-front
|
||||
bounds: 2, 2, 325, 196
|
||||
rotate: 90
|
||||
collar
|
||||
bounds: 786, 13, 47, 26
|
||||
ear
|
||||
bounds: 1002, 643, 20, 28
|
||||
eye-back-shadow
|
||||
bounds: 428, 395, 14, 10
|
||||
eye-front-shadow
|
||||
bounds: 704, 529, 24, 14
|
||||
eye-reflex-back
|
||||
bounds: 860, 128, 8, 7
|
||||
rotate: 90
|
||||
eye-reflex-front
|
||||
bounds: 726, 386, 10, 7
|
||||
eye-white-back
|
||||
bounds: 835, 23, 13, 16
|
||||
eye-white-front
|
||||
bounds: 1005, 1000, 22, 17
|
||||
rotate: 90
|
||||
eyelashes-down-back
|
||||
bounds: 232, 329, 11, 6
|
||||
rotate: 90
|
||||
eyelashes-down-front
|
||||
bounds: 913, 851, 15, 6
|
||||
rotate: 90
|
||||
eyelashes-top-back
|
||||
bounds: 408, 395, 18, 10
|
||||
eyelashes-top-front
|
||||
bounds: 702, 179, 30, 16
|
||||
rotate: 90
|
||||
face
|
||||
bounds: 514, 26, 93, 102
|
||||
rotate: 90
|
||||
feathers-back
|
||||
bounds: 954, 625, 46, 46
|
||||
feathers-front
|
||||
bounds: 706, 40, 72, 86
|
||||
fringe-middle-back
|
||||
bounds: 200, 6, 33, 52
|
||||
rotate: 90
|
||||
fringe-middle-front
|
||||
bounds: 878, 76, 60, 50
|
||||
rotate: 90
|
||||
fringe-side-back
|
||||
bounds: 780, 41, 27, 94
|
||||
rotate: 90
|
||||
fringe-side-front
|
||||
bounds: 939, 161, 26, 93
|
||||
glove-bottom-back
|
||||
bounds: 954, 572, 51, 41
|
||||
rotate: 90
|
||||
glove-bottom-front
|
||||
bounds: 916, 256, 47, 48
|
||||
hair-back-1
|
||||
bounds: 444, 395, 132, 306
|
||||
rotate: 90
|
||||
hair-back-2
|
||||
bounds: 438, 211, 80, 285
|
||||
rotate: 90
|
||||
hair-back-3
|
||||
bounds: 719, 306, 70, 268
|
||||
rotate: 90
|
||||
hair-back-4
|
||||
bounds: 438, 121, 88, 262
|
||||
rotate: 90
|
||||
hair-back-5
|
||||
bounds: 438, 293, 88, 279
|
||||
rotate: 90
|
||||
hair-back-6
|
||||
bounds: 200, 41, 88, 286
|
||||
hair-hat-shadow
|
||||
bounds: 232, 398, 90, 41
|
||||
hand-back
|
||||
bounds: 954, 673, 60, 47
|
||||
rotate: 90
|
||||
hand-front
|
||||
bounds: 967, 172, 53, 60
|
||||
hat-back
|
||||
bounds: 954, 802, 64, 45
|
||||
rotate: 90
|
||||
hat-front
|
||||
bounds: 780, 70, 96, 56
|
||||
head-back
|
||||
bounds: 618, 17, 102, 86
|
||||
rotate: 90
|
||||
jabot
|
||||
bounds: 967, 234, 70, 55
|
||||
rotate: 90
|
||||
leg-back
|
||||
bounds: 232, 441, 210, 333
|
||||
leg-front
|
||||
bounds: 444, 529, 258, 320
|
||||
logo-brooch
|
||||
bounds: 954, 545, 16, 25
|
||||
mouth
|
||||
bounds: 408, 121, 22, 6
|
||||
neck
|
||||
bounds: 232, 342, 39, 56
|
||||
rotate: 90
|
||||
nose
|
||||
bounds: 742, 529, 6, 7
|
||||
rotate: 90
|
||||
nose-highlight
|
||||
bounds: 719, 300, 4, 4
|
||||
nose-shadow
|
||||
bounds: 869, 128, 7, 8
|
||||
pupil-back
|
||||
bounds: 730, 529, 10, 14
|
||||
pupil-front
|
||||
bounds: 254, 21, 12, 18
|
||||
rope-back
|
||||
bounds: 232, 383, 10, 492
|
||||
rotate: 90
|
||||
rope-front
|
||||
bounds: 232, 383, 10, 492
|
||||
rotate: 90
|
||||
rope-front-bottom
|
||||
bounds: 954, 735, 42, 65
|
||||
skirt
|
||||
bounds: 2, 776, 440, 246
|
||||
sock-bow
|
||||
bounds: 408, 407, 33, 32
|
||||
spine-logo-body
|
||||
bounds: 879, 853, 13, 32
|
||||
rotate: 90
|
||||
star-big
|
||||
bounds: 939, 141, 18, 24
|
||||
rotate: 90
|
||||
star-medium
|
||||
bounds: 742, 537, 6, 8
|
||||
rotate: 90
|
||||
star-small
|
||||
bounds: 719, 378, 3, 4
|
||||
rotate: 90
|
||||
underskirt
|
||||
bounds: 2, 329, 445, 228
|
||||
rotate: 90
|
||||
underskirt-back
|
||||
bounds: 444, 851, 433, 171
|
||||
wing-back
|
||||
bounds: 290, 129, 146, 252
|
||||
wing-front
|
||||
bounds: 704, 545, 304, 248
|
||||
rotate: 90
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f240b7d6513d1742b370fd3713405b9
|
||||
guid: 9f77b6317f3511f4485d8be1e088ff6c
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
BIN
Assets/ThirdParty/Spine Examples/Spine Skeletons/celestial-circus/celestial-circus-pma.png
vendored
Normal file
|
After Width: | Height: | Size: 804 KiB |
@ -1,13 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a87fe78b999f42f459397732f7c75303
|
||||
guid: d5bf0901654cca44d8d54e4b72929593
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@ -20,10 +20,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -62,6 +64,8 @@ TextureImporter:
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
@ -100,9 +104,9 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,19 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a6b194f808b1af6499c93410e504af42, type: 3}
|
||||
m_Name: celestial-circus-pma_Atlas
|
||||
m_EditorClassIdentifier:
|
||||
textureLoadingMode: 0
|
||||
onDemandTextureLoader: {fileID: 0}
|
||||
atlasFile: {fileID: 4900000, guid: 9f77b6317f3511f4485d8be1e088ff6c, type: 3}
|
||||
materials:
|
||||
- {fileID: 2100000, guid: 870f657376183b9489a1fe7ccbdacaa4, type: 2}
|
||||