```
feat(Enemy): 添加敌人攻击动画速度控制功能 - 新增attackDuration属性用于控制完整攻击动作时长 - 实现攻击动画速度动态调整,支持自定义攻击持续时间 - 添加健康条显示组件到敌人类 - 增加物理材质配置优化碰撞效果 - 添加微信小游戏平台支持和适配 - 集成自适应性能包和微信小游戏SDK - 配置项目构建设置支持多平台发布 - 更新质量设置以适配不同目标平台 - 调整场景中物体位置和旋转参数 - 修复角色控制器材质引用问题 - 优化敌人AI移动和攻击逻辑 ```
This commit is contained in:
1 parent
b807bb80ec
commit
48dfa0d95d
38 files changed
+2295
-36
No files matched your search
@@ -136,6 +136,18 @@ PhysicMaterial:
|
||||
bounciness: 0
|
||||
frictionCombine: 0
|
||||
bounceCombine: 0
|
||||
--- !u!134 &442925933
|
||||
PhysicMaterial:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ' (Instance) (Instance) (Instance) (Instance)'
|
||||
dynamicFriction: 0.6
|
||||
staticFriction: 0.6
|
||||
bounciness: 0
|
||||
frictionCombine: 0
|
||||
bounceCombine: 0
|
||||
--- !u!1 &705507993
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -255,6 +267,7 @@ MonoBehaviour:
|
||||
range: 18
|
||||
detectRange: 20
|
||||
attackRange: 1
|
||||
attackDuration: 1.5
|
||||
target: {fileID: 903389984}
|
||||
--- !u!143 &903389988
|
||||
CharacterController:
|
||||
@@ -263,7 +276,7 @@ CharacterController:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 903389984}
|
||||
m_Material: {fileID: 1727663077}
|
||||
m_Material: {fileID: 442925933}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
@@ -282,6 +295,24 @@ CharacterController:
|
||||
m_SkinWidth: 0.08
|
||||
m_MinMoveDistance: 0.001
|
||||
m_Center: {x: 0, y: 1, z: 0}
|
||||
--- !u!114 &903389989
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 903389984}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9355c53f591d4459ea620fc8191efa17, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxHealth: 100
|
||||
currentHealth: 100
|
||||
heightOffset: 0.25
|
||||
barWidth: 1.2
|
||||
borderColor: {r: 0.03, g: 0.03, b: 0.03, a: 0.95}
|
||||
fillColor: {r: 0.1, g: 0.8, b: 0.18, a: 1}
|
||||
--- !u!1 &963194225
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -371,8 +402,8 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963194225}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.002237889, y: 0.8675624, z: -0.49730802, w: 0.0039040295}
|
||||
m_LocalPosition: {x: 0.20366266, y: 9.922052, z: 2.6709976}
|
||||
m_LocalRotation: {x: 0.0062476187, y: 0.85376835, z: -0.5205148, w: 0.010244722}
|
||||
m_LocalPosition: {x: -3.810662, y: 8.767098, z: -3.3209858}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
@@ -404,7 +435,7 @@ PrefabInstance:
|
||||
- target: {fileID: -8679921383154817045, guid: aedf6e849dd924e229c57640f99ff50a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -0.238
|
||||
value: -2.88
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: aedf6e849dd924e229c57640f99ff50a,
|
||||
type: 3}
|
||||
@@ -414,7 +445,7 @@ PrefabInstance:
|
||||
- target: {fileID: -8679921383154817045, guid: aedf6e849dd924e229c57640f99ff50a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
value: -4.02
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: aedf6e849dd924e229c57640f99ff50a,
|
||||
type: 3}
|
||||
@@ -484,6 +515,10 @@ PrefabInstance:
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 989436105}
|
||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: aedf6e849dd924e229c57640f99ff50a,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 989436109}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: aedf6e849dd924e229c57640f99ff50a, type: 3}
|
||||
--- !u!1 &989436104 stripped
|
||||
GameObject:
|
||||
@@ -498,7 +533,7 @@ CharacterController:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 989436104}
|
||||
m_Material: {fileID: 1727663077}
|
||||
m_Material: {fileID: 1441034007}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
@@ -534,7 +569,26 @@ MonoBehaviour:
|
||||
range: 18
|
||||
detectRange: 20
|
||||
attackRange: 1
|
||||
attackDuration: 2
|
||||
target: {fileID: 989436104}
|
||||
--- !u!114 &989436109
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 989436104}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9355c53f591d4459ea620fc8191efa17, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxHealth: 100
|
||||
currentHealth: 100
|
||||
heightOffset: 0.25
|
||||
barWidth: 1.2
|
||||
borderColor: {r: 0.03, g: 0.03, b: 0.03, a: 0.95}
|
||||
fillColor: {r: 0.1, g: 0.8, b: 0.18, a: 1}
|
||||
--- !u!1 &1178637744
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -646,6 +700,18 @@ Transform:
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!134 &1441034007
|
||||
PhysicMaterial:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ' (Instance) (Instance) (Instance) (Instance) (Instance) (Instance)'
|
||||
dynamicFriction: 0.6
|
||||
staticFriction: 0.6
|
||||
bounciness: 0
|
||||
frictionCombine: 0
|
||||
bounceCombine: 0
|
||||
--- !u!1001 &1576577255
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -731,19 +797,11 @@ PrefabInstance:
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 903389987}
|
||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: c64a07291d13b4e9296ad678cc703a75,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 903389989}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: c64a07291d13b4e9296ad678cc703a75, type: 3}
|
||||
--- !u!134 &1727663077
|
||||
PhysicMaterial:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ' (Instance) (Instance) (Instance)'
|
||||
dynamicFriction: 0.6
|
||||
staticFriction: 0.6
|
||||
bounciness: 0
|
||||
frictionCombine: 0
|
||||
bounceCombine: 0
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in new issue
Block a user