Метод | Описание | |
---|---|---|
FindAllAssets ( ) : string[] |
Get all assets managed by this module.
|
|
FindClass ( string assemblyName, string className ) : |
Find a class from an assembly by name.
|
|
InvokeInstanceMethod ( object objectInstance, string methodName, object args, object>.Dictionary |
Call a method on an object with named arguments.
|
|
InvokeMethod ( |
Call a method on an object with named arguments.
|
|
InvokeStaticMethod ( |
Call a static method on an object.
|
|
SearchAssetDatabase ( string assetsFilter = null, FilenameFilter filter = null ) : string[] |
Search the asset database for all files matching the specified filter.
|
|
UpdateVersionedAssets ( bool forceUpdate = false ) : void |
Find all files in the asset database with multiple version numbers encoded in their filename, select the most recent revisions and delete obsolete versions and files referenced by old manifests that are not present in the most recent manifests.
|
Метод | Описание | |
---|---|---|
MoveAssetToTrash ( string filename ) : void |
Move an asset to trash, writing to the log if logging is enabled.
|
|
OnPostProcessAllAssets ( string importedAssets, string deletedAssets, string movedAssets, string movedFromPath ) : void |
Scanned for versioned assets and apply modifications if required.
|
|
ShowSettings ( ) : void | ||
UpdateNow ( ) : void | ||
VersionHandler ( ) : UnityEngine |
Enables / disables assets imported at multiple revisions / versions. In addition, this module will read text files matching _manifest_ and remove files from older manifest files.
|
public static FindAllAssets ( ) : string[] | ||
Результат | string[] |
public static FindClass ( string assemblyName, string className ) : |
||
assemblyName | string | Name of the assembly to search for. |
className | string | Name of the class to find. |
Результат |
public static InvokeInstanceMethod ( object objectInstance, string methodName, object args, object>.Dictionary |
||
objectInstance | object | Object to call a method on. |
methodName | string | Name of the method to call. |
args | object | |
namedArgs | object>.Dictionary | Named arguments of the method. |
Результат | object |
public static InvokeMethod ( |
||
type | Class to call the method on. | |
objectInstance | object | Object to call a method on. |
methodName | string | Name of the method to call. |
args | object | |
namedArgs | object>.Dictionary | Named arguments of the method. |
Результат | object |
public static InvokeStaticMethod ( |
||
type | Class to call the method on. | |
methodName | string | Name of the method to call. |
args | object | |
namedArgs | object>.Dictionary | Named arguments of the method. |
Результат | object |
public static SearchAssetDatabase ( string assetsFilter = null, FilenameFilter filter = null ) : string[] | ||
assetsFilter | string | Filter used to query the /// AssetDatabase. If this isn't specified, all assets are searched. /// |
filter | FilenameFilter | Optional delegate to filter the returned /// list. |
Результат | string[] |
public static UpdateVersionedAssets ( bool forceUpdate = false ) : void | ||
forceUpdate | bool | |
Результат | void |