private static extern void Internal_Reimport(string path, ImportOptions options, bool force, bool synchronous);
/// <summary> /// Triggers a reimport of a resource using the provided import options, if needed. /// </summary> /// <param name="path">Path to the resource to reimport, absolute or relative to resources folder.</param> /// <param name="options">Optional import options to use when importing the resource. Caller must ensure the import /// options are of the correct type for the resource in question. If null is provided default /// import options are used.</param> /// <param name="force">Should the resource be reimported even if no changes are detected.</param> /// <param name="synchronous">If true the import will happen synchronously on the calling thread. If false the /// import operation will be queued for execution on a worker thread.</param> public static void Reimport(string path, ImportOptions options = null, bool force = false, bool synchronous = false) { Internal_Reimport(path, options, force, synchronous); }