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); } }
public static void ReskinBuildingBase(BuildingSkin skin) { deferredReskins.Add(skin); }