超级玩家
 
- 贡献度
- 11
- 金元
- 6423
- 积分
- 686
- 精华
- 0
- 注册时间
- 2018-9-1
|
借鉴了前辈大师的攻略及对照金属砖代码,自己改的。如有雷同,纯属巧合
BuildingDef buildingDef = BuildingTemplates.CreateBuildingDef(id, width, height, anim, hitpoints,
construction_time, tier, all_METALS, melting_point, build_location_rule, BUILDINGS.DECOR.BONUS.TIER3,
none, 0.2f);
public override void ConfigureBuildingTemplate(global::UnityEngine.GameObject go, global::Tag
prefab_tag)
{
global::GeneratedBuildings.MakeBuildingAlwaysOperational(go);
global::BuildingConfigManager.Instance.IgnoreDefaultKComponent(typeof
(global::RequiresFoundation), prefab_tag);
global::SimCellOccupier simCellOccupier = go.AddOrGet<global::SimCellOccupier>();
simCellOccupier.doReplaceElement = false;
|
评分
-
1
查看全部评分
-
|