public ModPackageReorderableList(ModPackage package, SerializedObject serializedObject, SerializedProperty serializedProperty) : base(serializedObject, serializedProperty, true, true, true, true) { Package = package; SerializedObject = serializedObject; SerializedProperty = serializedProperty; drawHeaderCallback = DrawHeader; drawElementCallback = DrawElement; }
private static void BuildMod(ModPackage package) { try { Serializer.SerializePackage(package, _pathToCoreMods); } catch (System.Exception) { Debug.LogWarning("Failed to serialize " + package); } }