示例#1
0
 private static void SetPlayerComponents(UnitModel unit)
 {
     unit.AddComponent <InputComponent>();
     unit.AddComponent <MovementComponent>();
     unit.AddComponent <CameraComponent>();
     unit.AddComponent <PlayerParamsComponent>();
 }
示例#2
0
 private static void SetMonsterComponents(UnitModel unit)
 {
     unit.AddComponent <MovementComponent>();
     unit.AddComponent <AiBaseComponent>();
     unit.AddComponent <MonsterParamsComponent>();
 }