UI系统
This commit is contained in:
@@ -12,6 +12,7 @@ using BaseGames.Enemies.Boss;
|
||||
using BaseGames.Enemies.Navigation;
|
||||
using BaseGames.Enemies.Perception;
|
||||
using BaseGames.Equipment;
|
||||
using BaseGames.Feedback;
|
||||
using BaseGames.Parry;
|
||||
using BaseGames.Player;
|
||||
using BaseGames.Player.States;
|
||||
@@ -84,6 +85,9 @@ namespace BaseGames.Editor
|
||||
ShieldComponent shield = GetOrAddComponent<ShieldComponent>(root);
|
||||
PlayerWallDetector wallDetector = GetOrAddComponent<PlayerWallDetector>(root);
|
||||
EquipmentManager equipmentManager = GetOrAddComponent<EquipmentManager>(root);
|
||||
// PlayerFeedback:EquipmentManager.Awake 经 GetComponent<PlayerFeedback>() 取本节点引用(护符效果反馈),
|
||||
// 缺失会触发断言。须与 EquipmentManager 同节点。Feel 反馈链(MMF_Player)留待 Inspector 配置。
|
||||
GetOrAddComponent<PlayerFeedback>(root);
|
||||
GetOrAddComponent<SkillModifierRegistry>(root);
|
||||
StatusEffectManager statusEffectManager = GetOrAddComponent<StatusEffectManager>(root);
|
||||
// PlayerController 最后添加:RequireComponent 会拉取上方已加好的组件
|
||||
|
||||
Reference in New Issue
Block a user