This commit is contained in:
wulongxiao 2024-12-18 20:45:00 +08:00
commit b587a38f24
13 changed files with 759 additions and 77 deletions

View File

@ -10,11 +10,16 @@ public class SnowHpControl : MonoBehaviour
public float moveDistance = 5f; // 跳跃的水平距离
public float fadeDuration = 0.5f; // 消失时间
public Canvas targetCanvas; // 目标画布用于确保UI元素在该画布上移动
public int direction;//ÏÔʾ·½Ïò
private Renderer rend; // 用于获取物体的Renderer来控制透明度
private Vector3 initialPosition;
void Start()
{
}
public void CreateText()
{
targetCanvas = transform.parent.GetComponent<Canvas>();
@ -34,7 +39,16 @@ public class SnowHpControl : MonoBehaviour
}
// 随机初始化位置(在初始位置附近)
float randomX = Random.Range(moveDistance / 4f, moveDistance);
float randomX;
if (direction == 1)
{
randomX = Random.Range(moveDistance / 4f, moveDistance)+moveDistance/2;
}
else
{
randomX = Random.Range(-moveDistance, -moveDistance / 4f)-moveDistance/2;
}
float randomY = Random.Range(-moveDistance / 4f, 0); // 在Y轴上也加一点随机性
transform.position = initialPosition;
@ -47,7 +61,7 @@ public class SnowHpControl : MonoBehaviour
Sequence sequence = DOTween.Sequence();
// 1. 跳跃并逐渐变大
sequence.Append(transform.DOJump(new Vector3(initialPosition.x + randomX + moveDistance, initialPosition.y+randomY),0.3f,1, 0.5f)
sequence.Append(transform.DOJump(new Vector3(initialPosition.x + randomX, initialPosition.y + randomY), 0.3f, 1, 0.5f)
.SetEase(Ease.OutQuad) // 跳跃效果使用OutQuad让跳跃过程中速度逐渐变慢
);
//sequence.Join(transform.DOMoveY(initialPosition.y -( randomY + moveDistance) / 2f, 0.6f)
@ -61,7 +75,7 @@ public class SnowHpControl : MonoBehaviour
sequence.Append(transform.DOScale(Vector3.zero, 0.5f).SetEase(Ease.Linear)); // 缩小效果,模拟消失的感觉
sequence.Append(transform.GetComponent<Text>().DOFade(0f, fadeDuration).OnComplete(() =>
{
Destroy(gameObject); // 动画完成后销毁对象
}));
}

View File

@ -127,8 +127,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 5.81, y: 0}
m_SizeDelta: {x: 11.72, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0.111134015, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &744592432927293251
CanvasRenderer:
@ -151,14 +151,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.5019608}
m_Color: {r: 1, g: 0.89228183, b: 0.39999998, a: 0.5294118}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: be7cd7587e113e04c886efa8d506cf14, type: 3}
m_Sprite: {fileID: 21300000, guid: ffc69b51517b07c4a96193545b021c8d, type: 3}
m_Type: 3
m_PreserveAspect: 0
m_FillCenter: 1
@ -379,7 +379,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 84ea23eac94f8e84bb75e7c77f95447e, type: 3}
- {fileID: 21300000, guid: cab320b3f45281448944a1a9c46cc762, type: 3}
- {fileID: 21300000, guid: 1657ff3f38d87b94586a400f5834025c, type: 3}
CharacterAnimationFrameInterval: 36
CharacterAnimationFrameInterval: 18
- value:
- {fileID: 21300000, guid: d0e97f96cf7eb544ab3a5fa66cd90b76, type: 3}
- {fileID: 21300000, guid: d5d7283b4ed2eb84d8c769594f12ea17, type: 3}
@ -582,7 +582,7 @@ SpriteRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 5fdc02cc28955354681ddffb7b09085a, type: 3}
m_Sprite: {fileID: 21300000, guid: 84ea23eac94f8e84bb75e7c77f95447e, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0

View File

@ -1,5 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1107 &-8261493518895400377
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates: []
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
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}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
@ -9,4 +28,16 @@ AnimatorController:
m_Name: Circle
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -8261493518895400377}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}

View File

@ -73,6 +73,37 @@ MonoBehaviour:
m_EditorClassIdentifier:
role: {fileID: 8433650274028726420}
panelPrefab: {fileID: 8782491854383104488, guid: 61ffa7d22a51b1e48a3495af66e30de0, type: 3}
--- !u!1 &6070656209494785206
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2562350995381512747}
m_Layer: 0
m_Name: StartPos
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2562350995381512747
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6070656209494785206}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.479, y: 0.817, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8433650275485930555}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &8433650274046349753
GameObject:
m_ObjectHideFlags: 0
@ -83,6 +114,8 @@ GameObject:
m_Component:
- component: {fileID: 8433650274046349754}
- component: {fileID: 8433650274046349755}
- component: {fileID: 9037670100243302216}
- component: {fileID: 860192343968067931}
m_Layer: 0
m_Name: Circle
m_TagString: Untagged
@ -146,7 +179,7 @@ SpriteRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 214e6e4e1961c1c48b8614047e962e6b, type: 3}
m_Sprite: {fileID: 21300000, guid: 4b41eb7dadefd8949b2fb9b3408ed313, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
@ -157,6 +190,40 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!95 &9037670100243302216
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8433650274046349753}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 1e52f8b55fd91f94ca5dcc859e2faa7e, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!114 &860192343968067931
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8433650274046349753}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7d7d3146a1294f044892ae91ba6c7cd6, type: 3}
m_Name:
m_EditorClassIdentifier:
attack: {fileID: 7276635428522831207}
--- !u!1 &8433650274814453344
GameObject:
m_ObjectHideFlags: 0
@ -208,9 +275,9 @@ MonoBehaviour:
damageTyp: 2
attackCooldown: 1
bulltes: []
animator: {fileID: 0}
animator: {fileID: 9037670100243302216}
fireAni: {fileID: 0}
BulletStartPos: {fileID: 0}
BulletStartPos: {fileID: 2562350995381512747}
direction: {x: 0, y: 0}
--- !u!58 &1338343970434073545
CircleCollider2D:
@ -263,6 +330,7 @@ Transform:
- {fileID: 8433650274814453345}
- {fileID: 8433650274046349754}
- {fileID: 2780405381636526920}
- {fileID: 2562350995381512747}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -304,71 +372,11 @@ MonoBehaviour:
physicalArmor: 10
magicArmor: 5
Navigation: {fileID: 0}
AnimationTree:
- value:
- {fileID: 21300000, guid: 7a9ea5910ce547648b91fb17f66423b0, type: 3}
- {fileID: 21300000, guid: 4d963c29e6d03d246bfc81716c85c695, type: 3}
- {fileID: 21300000, guid: 3d9fbac889d5ad5409d8a8bb65c7ba3a, type: 3}
- {fileID: 21300000, guid: f2bf7d1ed23ca8842a32692ae3b5e04d, type: 3}
- {fileID: 21300000, guid: e0e33f77929297d478a8dfa0cd6459dc, type: 3}
- {fileID: 21300000, guid: 0a2d3050b4672614cb15b5ae8111dc00, type: 3}
- {fileID: 21300000, guid: 3944bd14050da4946b4fe3f283c636b5, type: 3}
- {fileID: 21300000, guid: a42bbb04049b44144b89057baa808b07, type: 3}
- {fileID: 21300000, guid: a7b17c91a88493b4fbf3479111ad8529, type: 3}
- {fileID: 21300000, guid: 214e6e4e1961c1c48b8614047e962e6b, type: 3}
- {fileID: 21300000, guid: 91b75ac7cef7fab4691af1f133486d28, type: 3}
- {fileID: 21300000, guid: 3377bd6700dff1f4ebe4454a514d3822, type: 3}
- {fileID: 21300000, guid: d09a76c73317e394ba72ae06615e8d8e, type: 3}
- {fileID: 21300000, guid: 022be9ed82b88ca448e83895645aaf7f, type: 3}
- {fileID: 21300000, guid: 6ba220237d59af346988c1a0ee610e54, type: 3}
- {fileID: 21300000, guid: 528ed6f5efb74ca4bb7d600f57f72431, type: 3}
- {fileID: 21300000, guid: 29915f89081bacc4aaa782696eacb03d, type: 3}
- {fileID: 21300000, guid: 94a05f4a221d2a44489218dbdaefef3d, type: 3}
- {fileID: 21300000, guid: ffb2866f43fa6cb4ca43e8a5d60e1287, type: 3}
- {fileID: 21300000, guid: 99fe2b5de63b7c3459d723663e8c005f, type: 3}
- {fileID: 21300000, guid: 10f4a8c446cc49c4194e42f42cfc2be7, type: 3}
- {fileID: 21300000, guid: c7f9e1c4f70d9144082368f6f4d63848, type: 3}
- {fileID: 21300000, guid: 592bbc50c8a486c4693fb8cf27b29670, type: 3}
- {fileID: 21300000, guid: 869a9492ecc04f64795d4700b2e08183, type: 3}
- {fileID: 21300000, guid: ced9891523af42843b0821b6370c24c5, type: 3}
- {fileID: 21300000, guid: 30f24a49e65cf1e4090e348eda66977d, type: 3}
- {fileID: 21300000, guid: a9f88c6bb2de4cf489245f8e183532cc, type: 3}
- {fileID: 21300000, guid: ebb8f39c7c40b6345bfc40ace0649b44, type: 3}
- {fileID: 21300000, guid: adf29684fc00dd5498af7609d9036470, type: 3}
- {fileID: 21300000, guid: 29b3d4ab5f0a7294b845a60e42fd3289, type: 3}
- {fileID: 21300000, guid: 826586e7feecc1d4bad51475454dd002, type: 3}
- {fileID: 21300000, guid: a48c5c5d2bc1d0d4bb8530f1bffbf00c, type: 3}
CharacterAnimationFrameInterval: 50
- value:
- {fileID: 21300000, guid: 5065ad587b7ca8e4a82e33c40797e307, type: 3}
- {fileID: 21300000, guid: 7a3a190ce8913cc40a19c276da784c4e, type: 3}
- {fileID: 21300000, guid: b0bbef8c103df11429e8eb9fee7c5f3a, type: 3}
- {fileID: 21300000, guid: dce3028a1e881f64a949b087da35995f, type: 3}
- {fileID: 21300000, guid: 431a64a62dcb4ee4f86a8d44378dc9fe, type: 3}
- {fileID: 21300000, guid: 246c11ed5132c4649b8643231deb6829, type: 3}
- {fileID: 21300000, guid: 567f557f73a5d2d488a6463f6e9813d6, type: 3}
- {fileID: 21300000, guid: c0684f77ee86af7488e2f2094acc1970, type: 3}
- {fileID: 21300000, guid: 39ee156552d65b247beab58a57672cde, type: 3}
- {fileID: 21300000, guid: 89e87207a9a2c6144920c482ff527c55, type: 3}
- {fileID: 21300000, guid: 365237f0b749d0948b1ce7a642b5b622, type: 3}
- {fileID: 21300000, guid: 0888c240589273c42b1f3c50447226eb, type: 3}
- {fileID: 21300000, guid: f9cfc1050580be247ba87ba770ccdf75, type: 3}
- {fileID: 21300000, guid: 4b41eb7dadefd8949b2fb9b3408ed313, type: 3}
- {fileID: 21300000, guid: be0b21d56e75af044aba0864cebdbaa2, type: 3}
- {fileID: 21300000, guid: c916ec9a55e39f54bad7d3279c2ace77, type: 3}
- {fileID: 21300000, guid: 8c3ac93f9484210448ed89847a18facf, type: 3}
- {fileID: 21300000, guid: 1aebb49de6d7b5743a9b09b4b8775c51, type: 3}
- {fileID: 21300000, guid: ae8336216ed56da49a2c57218e5f27ac, type: 3}
- {fileID: 21300000, guid: 8a8eb57cfe13f91448f27c4b6f71165b, type: 3}
- {fileID: 21300000, guid: 03e864cdc0386d94784d1706fb2185e1, type: 3}
- {fileID: 21300000, guid: 34ae2a6dfc5da69418692bb75f621ac3, type: 3}
- {fileID: 21300000, guid: 025e32d6b33a56e4898c1dab011c844a, type: 3}
- {fileID: 21300000, guid: 101d265eefe88004c8b30bae46aaeed9, type: 3}
CharacterAnimationFrameInterval: 50
AnimationTree: []
animationHighlight: 0
spriteRenderer: {fileID: 8433650274046349755}
image: {fileID: 0}
isAnimationPlay: 1
isAnimationPlay: 0
mycollider: {fileID: 1338343970434073545}
attackClass: {fileID: 7276635428522831207}
CurrentIndex: 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

View File

@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: ffc69b51517b07c4a96193545b021c8d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,162 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1101 &-8676700259305576930
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: -7012692978905450746}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 1
m_HasExitTime: 1
m_HasFixedDuration: 0
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &-8567866917834797726
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: tutuAttack
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -8676700259305576930}
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: 2d6ddf84ed034e7409ad5be4241cfdea, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &-7012692978905450746
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: tutuStand
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 9002341325024371688}
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: 63f1952dd4bdb014b9cf75746306ab2b, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-4123328426627219762
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -7012692978905450746}
m_Position: {x: 530, y: -60, z: 0}
- serializedVersion: 1
m_State: {fileID: -8567866917834797726}
m_Position: {x: 630, y: 50, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 210, y: -40, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -7012692978905450746}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Circle
serializedVersion: 5
m_AnimatorParameters:
- m_Name: State
m_Type: 3
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: Attack
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -4123328426627219762}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1101 &9002341325024371688
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: Attack
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -8567866917834797726}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0.77272725
m_HasExitTime: 0
m_HasFixedDuration: 0
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1

View File

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

View File

@ -0,0 +1,144 @@
%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: tutuAttack
serializedVersion: 7
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: 21300000, guid: 5065ad587b7ca8e4a82e33c40797e307, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: 7a3a190ce8913cc40a19c276da784c4e, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: b0bbef8c103df11429e8eb9fee7c5f3a, type: 3}
- time: 0.1
value: {fileID: 21300000, guid: dce3028a1e881f64a949b087da35995f, type: 3}
- time: 0.13333334
value: {fileID: 21300000, guid: 431a64a62dcb4ee4f86a8d44378dc9fe, type: 3}
- time: 0.16666667
value: {fileID: 21300000, guid: 246c11ed5132c4649b8643231deb6829, type: 3}
- time: 0.2
value: {fileID: 21300000, guid: 567f557f73a5d2d488a6463f6e9813d6, type: 3}
- time: 0.23333333
value: {fileID: 21300000, guid: c0684f77ee86af7488e2f2094acc1970, type: 3}
- time: 0.26666668
value: {fileID: 21300000, guid: 39ee156552d65b247beab58a57672cde, type: 3}
- time: 0.3
value: {fileID: 21300000, guid: 89e87207a9a2c6144920c482ff527c55, type: 3}
- time: 0.33333334
value: {fileID: 21300000, guid: 365237f0b749d0948b1ce7a642b5b622, type: 3}
- time: 0.36666667
value: {fileID: 21300000, guid: 0888c240589273c42b1f3c50447226eb, type: 3}
- time: 0.4
value: {fileID: 21300000, guid: f9cfc1050580be247ba87ba770ccdf75, type: 3}
- time: 0.43333334
value: {fileID: 21300000, guid: 4b41eb7dadefd8949b2fb9b3408ed313, type: 3}
- time: 0.46666667
value: {fileID: 21300000, guid: be0b21d56e75af044aba0864cebdbaa2, type: 3}
- time: 0.5
value: {fileID: 21300000, guid: c916ec9a55e39f54bad7d3279c2ace77, type: 3}
- time: 0.53333336
value: {fileID: 21300000, guid: 8c3ac93f9484210448ed89847a18facf, type: 3}
- time: 0.56666666
value: {fileID: 21300000, guid: 1aebb49de6d7b5743a9b09b4b8775c51, type: 3}
- time: 0.6
value: {fileID: 21300000, guid: ae8336216ed56da49a2c57218e5f27ac, type: 3}
- time: 0.6333333
value: {fileID: 21300000, guid: 8a8eb57cfe13f91448f27c4b6f71165b, type: 3}
- time: 0.6666667
value: {fileID: 21300000, guid: 03e864cdc0386d94784d1706fb2185e1, type: 3}
- time: 0.7
value: {fileID: 21300000, guid: 34ae2a6dfc5da69418692bb75f621ac3, type: 3}
- time: 0.73333335
value: {fileID: 21300000, guid: 025e32d6b33a56e4898c1dab011c844a, type: 3}
- time: 0.76666665
value: {fileID: 21300000, guid: 101d265eefe88004c8b30bae46aaeed9, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 30
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: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 5065ad587b7ca8e4a82e33c40797e307, type: 3}
- {fileID: 21300000, guid: 7a3a190ce8913cc40a19c276da784c4e, type: 3}
- {fileID: 21300000, guid: b0bbef8c103df11429e8eb9fee7c5f3a, type: 3}
- {fileID: 21300000, guid: dce3028a1e881f64a949b087da35995f, type: 3}
- {fileID: 21300000, guid: 431a64a62dcb4ee4f86a8d44378dc9fe, type: 3}
- {fileID: 21300000, guid: 246c11ed5132c4649b8643231deb6829, type: 3}
- {fileID: 21300000, guid: 567f557f73a5d2d488a6463f6e9813d6, type: 3}
- {fileID: 21300000, guid: c0684f77ee86af7488e2f2094acc1970, type: 3}
- {fileID: 21300000, guid: 39ee156552d65b247beab58a57672cde, type: 3}
- {fileID: 21300000, guid: 89e87207a9a2c6144920c482ff527c55, type: 3}
- {fileID: 21300000, guid: 365237f0b749d0948b1ce7a642b5b622, type: 3}
- {fileID: 21300000, guid: 0888c240589273c42b1f3c50447226eb, type: 3}
- {fileID: 21300000, guid: f9cfc1050580be247ba87ba770ccdf75, type: 3}
- {fileID: 21300000, guid: 4b41eb7dadefd8949b2fb9b3408ed313, type: 3}
- {fileID: 21300000, guid: be0b21d56e75af044aba0864cebdbaa2, type: 3}
- {fileID: 21300000, guid: c916ec9a55e39f54bad7d3279c2ace77, type: 3}
- {fileID: 21300000, guid: 8c3ac93f9484210448ed89847a18facf, type: 3}
- {fileID: 21300000, guid: 1aebb49de6d7b5743a9b09b4b8775c51, type: 3}
- {fileID: 21300000, guid: ae8336216ed56da49a2c57218e5f27ac, type: 3}
- {fileID: 21300000, guid: 8a8eb57cfe13f91448f27c4b6f71165b, type: 3}
- {fileID: 21300000, guid: 03e864cdc0386d94784d1706fb2185e1, type: 3}
- {fileID: 21300000, guid: 34ae2a6dfc5da69418692bb75f621ac3, type: 3}
- {fileID: 21300000, guid: 025e32d6b33a56e4898c1dab011c844a, type: 3}
- {fileID: 21300000, guid: 101d265eefe88004c8b30bae46aaeed9, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.8
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:
- time: 0.43333334
functionName: ShootBullet
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0

View File

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

View File

@ -0,0 +1,164 @@
%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: tutuStand
serializedVersion: 7
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: 21300000, guid: 7a9ea5910ce547648b91fb17f66423b0, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: 4d963c29e6d03d246bfc81716c85c695, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: 3d9fbac889d5ad5409d8a8bb65c7ba3a, type: 3}
- time: 0.1
value: {fileID: 21300000, guid: f2bf7d1ed23ca8842a32692ae3b5e04d, type: 3}
- time: 0.13333334
value: {fileID: 21300000, guid: e0e33f77929297d478a8dfa0cd6459dc, type: 3}
- time: 0.16666667
value: {fileID: 21300000, guid: 0a2d3050b4672614cb15b5ae8111dc00, type: 3}
- time: 0.2
value: {fileID: 21300000, guid: 3944bd14050da4946b4fe3f283c636b5, type: 3}
- time: 0.23333333
value: {fileID: 21300000, guid: a42bbb04049b44144b89057baa808b07, type: 3}
- time: 0.26666668
value: {fileID: 21300000, guid: a7b17c91a88493b4fbf3479111ad8529, type: 3}
- time: 0.3
value: {fileID: 21300000, guid: 214e6e4e1961c1c48b8614047e962e6b, type: 3}
- time: 0.33333334
value: {fileID: 21300000, guid: 91b75ac7cef7fab4691af1f133486d28, type: 3}
- time: 0.36666667
value: {fileID: 21300000, guid: 3377bd6700dff1f4ebe4454a514d3822, type: 3}
- time: 0.4
value: {fileID: 21300000, guid: d09a76c73317e394ba72ae06615e8d8e, type: 3}
- time: 0.43333334
value: {fileID: 21300000, guid: 022be9ed82b88ca448e83895645aaf7f, type: 3}
- time: 0.46666667
value: {fileID: 21300000, guid: 6ba220237d59af346988c1a0ee610e54, type: 3}
- time: 0.5
value: {fileID: 21300000, guid: 528ed6f5efb74ca4bb7d600f57f72431, type: 3}
- time: 0.53333336
value: {fileID: 21300000, guid: 29915f89081bacc4aaa782696eacb03d, type: 3}
- time: 0.56666666
value: {fileID: 21300000, guid: 94a05f4a221d2a44489218dbdaefef3d, type: 3}
- time: 0.6
value: {fileID: 21300000, guid: ffb2866f43fa6cb4ca43e8a5d60e1287, type: 3}
- time: 0.6333333
value: {fileID: 21300000, guid: 99fe2b5de63b7c3459d723663e8c005f, type: 3}
- time: 0.6666667
value: {fileID: 21300000, guid: 10f4a8c446cc49c4194e42f42cfc2be7, type: 3}
- time: 0.7
value: {fileID: 21300000, guid: c7f9e1c4f70d9144082368f6f4d63848, type: 3}
- time: 0.73333335
value: {fileID: 21300000, guid: 592bbc50c8a486c4693fb8cf27b29670, type: 3}
- time: 0.76666665
value: {fileID: 21300000, guid: 869a9492ecc04f64795d4700b2e08183, type: 3}
- time: 0.8
value: {fileID: 21300000, guid: ced9891523af42843b0821b6370c24c5, type: 3}
- time: 0.8333333
value: {fileID: 21300000, guid: 30f24a49e65cf1e4090e348eda66977d, type: 3}
- time: 0.8666667
value: {fileID: 21300000, guid: a9f88c6bb2de4cf489245f8e183532cc, type: 3}
- time: 0.9
value: {fileID: 21300000, guid: ebb8f39c7c40b6345bfc40ace0649b44, type: 3}
- time: 0.93333334
value: {fileID: 21300000, guid: adf29684fc00dd5498af7609d9036470, type: 3}
- time: 0.96666664
value: {fileID: 21300000, guid: 29b3d4ab5f0a7294b845a60e42fd3289, type: 3}
- time: 1
value: {fileID: 21300000, guid: 826586e7feecc1d4bad51475454dd002, type: 3}
- time: 1.0333333
value: {fileID: 21300000, guid: a48c5c5d2bc1d0d4bb8530f1bffbf00c, type: 3}
- time: 1.0666667
value: {fileID: 21300000, guid: a48c5c5d2bc1d0d4bb8530f1bffbf00c, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 30
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: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 7a9ea5910ce547648b91fb17f66423b0, type: 3}
- {fileID: 21300000, guid: 4d963c29e6d03d246bfc81716c85c695, type: 3}
- {fileID: 21300000, guid: 3d9fbac889d5ad5409d8a8bb65c7ba3a, type: 3}
- {fileID: 21300000, guid: f2bf7d1ed23ca8842a32692ae3b5e04d, type: 3}
- {fileID: 21300000, guid: e0e33f77929297d478a8dfa0cd6459dc, type: 3}
- {fileID: 21300000, guid: 0a2d3050b4672614cb15b5ae8111dc00, type: 3}
- {fileID: 21300000, guid: 3944bd14050da4946b4fe3f283c636b5, type: 3}
- {fileID: 21300000, guid: a42bbb04049b44144b89057baa808b07, type: 3}
- {fileID: 21300000, guid: a7b17c91a88493b4fbf3479111ad8529, type: 3}
- {fileID: 21300000, guid: 214e6e4e1961c1c48b8614047e962e6b, type: 3}
- {fileID: 21300000, guid: 91b75ac7cef7fab4691af1f133486d28, type: 3}
- {fileID: 21300000, guid: 3377bd6700dff1f4ebe4454a514d3822, type: 3}
- {fileID: 21300000, guid: d09a76c73317e394ba72ae06615e8d8e, type: 3}
- {fileID: 21300000, guid: 022be9ed82b88ca448e83895645aaf7f, type: 3}
- {fileID: 21300000, guid: 6ba220237d59af346988c1a0ee610e54, type: 3}
- {fileID: 21300000, guid: 528ed6f5efb74ca4bb7d600f57f72431, type: 3}
- {fileID: 21300000, guid: 29915f89081bacc4aaa782696eacb03d, type: 3}
- {fileID: 21300000, guid: 94a05f4a221d2a44489218dbdaefef3d, type: 3}
- {fileID: 21300000, guid: ffb2866f43fa6cb4ca43e8a5d60e1287, type: 3}
- {fileID: 21300000, guid: 99fe2b5de63b7c3459d723663e8c005f, type: 3}
- {fileID: 21300000, guid: 10f4a8c446cc49c4194e42f42cfc2be7, type: 3}
- {fileID: 21300000, guid: c7f9e1c4f70d9144082368f6f4d63848, type: 3}
- {fileID: 21300000, guid: 592bbc50c8a486c4693fb8cf27b29670, type: 3}
- {fileID: 21300000, guid: 869a9492ecc04f64795d4700b2e08183, type: 3}
- {fileID: 21300000, guid: ced9891523af42843b0821b6370c24c5, type: 3}
- {fileID: 21300000, guid: 30f24a49e65cf1e4090e348eda66977d, type: 3}
- {fileID: 21300000, guid: a9f88c6bb2de4cf489245f8e183532cc, type: 3}
- {fileID: 21300000, guid: ebb8f39c7c40b6345bfc40ace0649b44, type: 3}
- {fileID: 21300000, guid: adf29684fc00dd5498af7609d9036470, type: 3}
- {fileID: 21300000, guid: 29b3d4ab5f0a7294b845a60e42fd3289, type: 3}
- {fileID: 21300000, guid: 826586e7feecc1d4bad51475454dd002, type: 3}
- {fileID: 21300000, guid: a48c5c5d2bc1d0d4bb8530f1bffbf00c, type: 3}
- {fileID: 21300000, guid: a48c5c5d2bc1d0d4bb8530f1bffbf00c, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1.1
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: 63f1952dd4bdb014b9cf75746306ab2b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

@ -1 +1 @@
Subproject commit 84ca89c647aa7d6d89be70886b90d983b838e989
Subproject commit 8fde270423daa41bf2968599462aafe4bac70722