Example #1
0
 public static void ExecuteReplaceProcedure(BuildingSkin modelInfo)
 {
     if (modelInfo.replaceProcedure != null)
     {
         modelInfo.replaceProcedure.Invoke(GameState.inst.GetPlaceableByUniqueName(modelInfo.buildingUniqueName));
     }
     else
     {
         helper.Log("no base model replace procedure found for building " + modelInfo.buildingUniqueName);
     }
 }
Example #2
0
 public static void ReskinBuildingBase(BuildingSkin skin)
 {
     deferredReskins.Add(skin);
 }