Kitties Animation Stuff

This commit is contained in:
Bhaos 2023-01-17 09:46:42 -06:00
parent 6e95223bad
commit f31230e490
7 changed files with 3721 additions and 5 deletions

View file

@ -1,5 +1,87 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &188985247938110915
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3393061407199463923}
- component: {fileID: 2060427104350234661}
m_Layer: 0
m_Name: Star (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &3393061407199463923
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 188985247938110915}
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_Father: {fileID: 6689762683854414948}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &2060427104350234661
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 188985247938110915}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: -7937288927019184270, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.89, y: 0.92}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &2250680790597400440
GameObject:
m_ObjectHideFlags: 0
@ -52,6 +134,10 @@ MonoBehaviour:
scheduledInputs: []
firstEnable: 0
player: {fileID: 7454126704339270245}
kitties:
- {fileID: 8422149772840757146}
- {fileID: 7596518172540289105}
- {fileID: 3125634083301322901}
Cats:
- {fileID: 7519509861423932029}
- {fileID: 8491422747466352054}
@ -138,6 +224,88 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &8625686844559284913
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4893288016413254793}
- component: {fileID: 2474971596683049381}
m_Layer: 0
m_Name: Star2 (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &4893288016413254793
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8625686844559284913}
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_Father: {fileID: 6689762683854414948}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &2474971596683049381
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8625686844559284913}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 5030738185955279627, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.89, y: 0.92}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1001 &2351138345471083223
PrefabInstance:
m_ObjectHideFlags: 0
@ -145,6 +313,98 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 7036960847367506643}
m_Modifications:
- target: {fileID: 675976981540494925, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_Color.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1199308468064959743, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_Color.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1250984528353694784, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: -5801956193589078948, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- target: {fileID: 2532528378222940896, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4095086036449551980, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4236132835555929771, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4736979556405118395, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4975873416024091834, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5055270875105467526, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5258587802238640298, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_Name
value: Kitty1
@ -157,6 +417,74 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5885898476848634904, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6519446341025961767, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8000684639506543239, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8154867582994820091, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_Color.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8472956240391547104, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8970694537643043206, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
propertyPath: m_RootOrder
value: 1
@ -213,6 +541,16 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8970694537643043206, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
m_PrefabInstance: {fileID: 2351138345471083223}
m_PrefabAsset: {fileID: 0}
--- !u!95 &8422149772840757146 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 6071300102877996365, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
m_PrefabInstance: {fileID: 2351138345471083223}
m_PrefabAsset: {fileID: 0}
--- !u!4 &6689762683854414948 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8968395744991307443, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
m_PrefabInstance: {fileID: 2351138345471083223}
m_PrefabAsset: {fileID: 0}
--- !u!114 &169755381970444122
MonoBehaviour:
m_ObjectHideFlags: 0
@ -300,6 +638,11 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8970694537643043206, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
m_PrefabInstance: {fileID: 4408415186550367516}
m_PrefabAsset: {fileID: 0}
--- !u!95 &7596518172540289105 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 6071300102877996365, guid: ab46f36f89873b64d838385a0ffe5b9a, type: 3}
m_PrefabInstance: {fileID: 4408415186550367516}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7364629045779261927
MonoBehaviour:
m_ObjectHideFlags: 0
@ -406,3 +749,4 @@ MonoBehaviour:
m_EditorClassIdentifier:
Player: {fileID: 4025001298363446642}
anim: {fileID: 3125634083301322901}
canClap: 0

View file

@ -0,0 +1,83 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Idle
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: -5801956193589078948, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- time: 0.083333336
value: {fileID: 608308082974126268, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- time: 0.16666667
value: {fileID: -4739823493371210473, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- time: 0.25
value: {fileID: 2714301014034650516, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- time: 0.33333334
value: {fileID: -4739823493371210473, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- time: 0.41666666
value: {fileID: 608308082974126268, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
attribute: m_Sprite
path: Kitty
classID: 212
script: {fileID: 0}
m_SampleRate: 24
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 2656932650
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: -5801956193589078948, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- {fileID: 608308082974126268, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- {fileID: -4739823493371210473, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- {fileID: 2714301014034650516, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- {fileID: -4739823493371210473, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
- {fileID: 608308082974126268, guid: bf45531f01bb98d48809dda2ebe18c81, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.4583333
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5280d7e1f707fde4f8dfd0ff77076157
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,5 +1,32 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-1562517816871150084
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PopIn
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 6452637951331110214}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: a32f96adea7e19a4a99f0871b5fc9a1c, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-331681189392602167
AnimatorStateMachine:
serializedVersion: 6
@ -8,7 +35,13 @@ AnimatorStateMachine:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates: []
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -1562517816871150084}
m_Position: {x: 240, y: -90, z: 0}
- serializedVersion: 1
m_State: {fileID: 7444453054908554979}
m_Position: {x: 235, y: 65, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
@ -18,7 +51,7 @@ AnimatorStateMachine:
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 0}
m_DefaultState: {fileID: 7444453054908554979}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
@ -41,3 +74,51 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1101 &6452637951331110214
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 7444453054908554979}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &7444453054908554979
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Idle
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 5280d7e1f707fde4f8dfd0ff77076157, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a32f96adea7e19a4a99f0871b5fc9a1c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -42,6 +42,7 @@ namespace HeavenStudio.Games
public class Kitties : Minigame
{
public CtrTeppanPlayer player;
public Animator[] kitties;
public GameObject[] Cats;
public enum SpawnType
{
@ -74,17 +75,17 @@ namespace HeavenStudio.Games
});
BeatAction.New(Cats[0], new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { Cats[0].transform.GetChild(0).gameObject.SetActive(true);}),
new BeatAction.Action(beat, delegate { Spawn(type, 0);}),
});
BeatAction.New(Cats[1], new List<BeatAction.Action>()
{
new BeatAction.Action(beat + .75f, delegate { Cats[1].transform.GetChild(0).gameObject.SetActive(true);}),
new BeatAction.Action(beat + .75f, delegate { Spawn(type, 1);}),
});
BeatAction.New(Cats[2], new List<BeatAction.Action>()
{
new BeatAction.Action(beat + 1.5f, delegate { Cats[2].transform.GetChild(0).gameObject.SetActive(true);}),
new BeatAction.Action(beat + 1.5f, delegate { Spawn(type, 2);}),
new BeatAction.Action(beat + 1.5f, delegate { player.canClap = true;}),
});
@ -100,5 +101,11 @@ namespace HeavenStudio.Games
new BeatAction.Action(beat, delegate { player.canClap = false;}),
});
}
public void Spawn(int pos, int catNum)
{
Cats[catNum].transform.GetChild(0).gameObject.SetActive(true);
kitties[catNum].Play("PopIn", 0, 0);
}
}
}