Пример #1
0
        public static void ConfigureBuildingTemplate(GameObject go, Options.GenericOptions options)
        {
            SimCellOccupier simCellOccupier = go.GetComponent <SimCellOccupier>();

            simCellOccupier.movementSpeedMultiplier = options.MovementSpeed;
            simCellOccupier.strengthMultiplier      = options.StrengthMultiplier;
        }
Пример #2
0
 public static void CreateBuildingDef(BuildingDef __result, Options.GenericOptions options)
 {
     __result.BaseDecor       = options.Decor;
     __result.BaseDecorRadius = options.DecorRadius;
 }