@
feat(scaffold): ChaoFeng(Boss) 撞墙检测层默认 Platform+Wall 补齐 Boss——脚手架 PlaceChaoFeng 加 _wallMask=Platform+Wall;prefab 同步直接设值 (原 Nothing,_wallCheckDist=0.2>0 会触发 Awake 撞墙未配报错)。至此 E001-E006+ ChaoFeng 全部配好 _wallMask。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
This commit is contained in:
@@ -154,6 +154,11 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_defaultSource: {fileID: 11400000, guid: caae9c7600281fe4e8d8637fa3fd2ca1, type: 2}
|
||||
_hitCooldown: 0.1
|
||||
_hitMode: 0
|
||||
_hitInterval: 0.5
|
||||
_targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
_id:
|
||||
_rivalHitBoxMask:
|
||||
serializedVersion: 2
|
||||
@@ -372,6 +377,11 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_defaultSource: {fileID: 11400000, guid: caae9c7600281fe4e8d8637fa3fd2ca1, type: 2}
|
||||
_hitCooldown: 0.1
|
||||
_hitMode: 0
|
||||
_hitInterval: 0.5
|
||||
_targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
_id:
|
||||
_rivalHitBoxMask:
|
||||
serializedVersion: 2
|
||||
@@ -468,6 +478,11 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_defaultSource: {fileID: 11400000, guid: caae9c7600281fe4e8d8637fa3fd2ca1, type: 2}
|
||||
_hitCooldown: 0.1
|
||||
_hitMode: 0
|
||||
_hitInterval: 0.5
|
||||
_targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
_id:
|
||||
_rivalHitBoxMask:
|
||||
serializedVersion: 2
|
||||
@@ -564,6 +579,11 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
_defaultSource: {fileID: 11400000, guid: caae9c7600281fe4e8d8637fa3fd2ca1, type: 2}
|
||||
_hitCooldown: 0.1
|
||||
_hitMode: 0
|
||||
_hitInterval: 0.5
|
||||
_targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
_id:
|
||||
_rivalHitBoxMask:
|
||||
serializedVersion: 2
|
||||
@@ -748,17 +768,9 @@ MonoBehaviour:
|
||||
_patrolZone: {fileID: 0}
|
||||
_onEnemyDied: {fileID: 11400000, guid: def849e2c5ec8204eae6b083b02307aa, type: 2}
|
||||
_onPlayerSpawned: {fileID: 11400000, guid: 7e2c7e614f6627b449a244ab44443adf, type: 2}
|
||||
_btIdleTickInterval: 0.3
|
||||
_btPatrolTickInterval: 0.15
|
||||
_btAlertTickInterval: 0.08
|
||||
_btChaseTickInterval: 0.05
|
||||
_btCombatTickInterval: 0
|
||||
_dbg_CurrentState: 0
|
||||
_dbg_AiPhase: 0
|
||||
_dbg_HasPlayer: 0
|
||||
_dbg_LastKnownPos: {x: 0, y: 0}
|
||||
_dbg_BtTickInterval: 0
|
||||
_autoPlayPhaseAnimation: 1
|
||||
_bossId:
|
||||
_onBossFightEnded: {fileID: 11400000, guid: f367dc6d9a2848241b54799ce37f7288, type: 2}
|
||||
_onBossPhaseChanged: {fileID: 11400000, guid: 9f49e575a92a7fb43af755ba1840abd2, type: 2}
|
||||
@@ -854,7 +866,9 @@ MonoBehaviour:
|
||||
_onHitLight: {fileID: 0}
|
||||
_onHitMedium: {fileID: 0}
|
||||
_onHitHeavy: {fileID: 0}
|
||||
_hitPositionMode: 0
|
||||
_onTakeHit: {fileID: 0}
|
||||
_takeHitPositionMode: 0
|
||||
_onDeath: {fileID: 0}
|
||||
--- !u!114 &8088437629491012474
|
||||
MonoBehaviour:
|
||||
@@ -888,7 +902,7 @@ MonoBehaviour:
|
||||
_ledgeCheckDownDist: 0.4
|
||||
_wallMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 8388864
|
||||
_dbg_FacingDirection: 0
|
||||
_dbg_VelocityX: 0
|
||||
_dbg_VelocityY: 0
|
||||
@@ -978,6 +992,8 @@ MonoBehaviour:
|
||||
_groundMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
_repathTargetThreshold: 0.5
|
||||
_repathMinInterval: 0.25
|
||||
--- !u!114 &3437191888218430966
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -1201,6 +1201,7 @@ namespace BaseGames.Editor
|
||||
AssignLayerMask(movement, "_groundMask",
|
||||
new[] { "Platform", "OneWayPlatform", "MovingOneWayPlatform", "MidHeightOneWayPlatform" },
|
||||
report);
|
||||
AssignLayerMask(movement, "_wallMask", new[] { "Platform", "Wall" }, report); // 撞墙判定层(策划可调)
|
||||
|
||||
// 收集 BossSkillSO 并赋给执行器(计划技能集)
|
||||
var skillAssets = new System.Collections.Generic.List<Object>();
|
||||
|
||||
Reference in New Issue
Block a user