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 });
     }
 }
Exemplo n.º 2
0
 public static void ClearBuildings(DecorationPropertiesPanel panel)
 {
     UnityEngine.Debug.Log("Lalala");
 }
Exemplo n.º 3
0
 public static void CreateSubBuildings(DecorationPropertiesPanel panel, BuildingInfo info)
 {
     UnityEngine.Debug.Log("Lalala");
 }