public static void AddField_Postfix(DecorationPropertiesPanel __instance, UIComponent container, Type type, float width, object target)
 {
     if (type == typeof(VehicleInfo.MeshInfo))
     {
         var info = (VehicleInfo.MeshInfo)target;
         addFieldInfo.Invoke(__instance, new object[] { container, "Variation", width, typeof(int), "m_variationMask", target, info.m_variationMask });
     }
 }
Beispiel #2
0
 public static void ClearBuildings(DecorationPropertiesPanel panel)
 {
     UnityEngine.Debug.Log("Lalala");
 }
Beispiel #3
0
 public static void CreateSubBuildings(DecorationPropertiesPanel panel, BuildingInfo info)
 {
     UnityEngine.Debug.Log("Lalala");
 }