T CreateLoadingProcedure<T>(string filePath, MonoBehaviour monoBehaviour, Func<string, Type, object[], object> customJsonFunction = default, object[] customJsonDeserializationArgs = null) where T : MEALoadingProcedureBase
Creates ModExtraAssets LoadingProcedure without initiating it up instantly. Use MEALoadingProcedureBase.Initiate()
______________________________________________________________________________________________________________________________
filePath: Path of the file
monoBehaviour: Instance of UnityEngine.MonoBehaviour that allows you to run IEnumerators (required for loading assets)
customJsonFunction: A custom function for JSON deserialization, in case you're using different JSON library
customJsonDeserializationArgs: Some extra arguments for custom JSON deserialization function, if needed
______________________________________________________________________________________________________________________________
MEAZipLoadingProcedureBase: A base class of classes that allows to track the loading progress
↩️ Back
CreateLoadingProcedure is a method that returns a class that populates the database using Unity's Coroutine system, which can be used to track the loading status, if the file required by the procedure type is big in size (using path to locate the procedure-required file)
Allows you to start loading your file that is reqired by the procedure type whenever you want to