Click or drag to resize

EditorImportPluginImport Method

Imports source_file into save_path with the import options specified. The platform_variants and gen_files arrays will be modified by this function.

This method must be overridden to do the actual importing work. See this class' description for an example of overriding this method.

Namespace:  Godot
Assembly:  GodotSharpEditor (in GodotSharpEditor.dll) Version: 1.0.0
Syntax
C#
public virtual int Import(
	string sourceFile,
	string savePath,
	Dictionary options,
	Array platformVariants,
	Array genFiles
)

Parameters

sourceFile
Type: SystemString

[Missing <param name="sourceFile"/> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

savePath
Type: SystemString

[Missing <param name="savePath"/> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

options
Type: Godot.CollectionsDictionary

[Missing <param name="options"/> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

platformVariants
Type: Godot.CollectionsArray

[Missing <param name="platformVariants"/> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

genFiles
Type: Godot.CollectionsArray

[Missing <param name="genFiles"/> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.EditorImportPlugin.Import(System.String,System.String,Godot.Collections.Dictionary,Godot.Collections.Array,Godot.Collections.Array)"]

See Also