C# 클래스 Google.VersionHandler

상속: UnityEditor.AssetPostprocessor
파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver 1 사용 예제들

공개 메소드들

메소드 설명
FindAllAssets ( ) : string[]

Get all assets managed by this module.

FindClass ( string assemblyName, string className ) : Type

Find a class from an assembly by name.

InvokeInstanceMethod ( object objectInstance, string methodName, object args, object>.Dictionary namedArgs = null ) : object

Call a method on an object with named arguments.

InvokeMethod ( Type type, object objectInstance, string methodName, object args, object>.Dictionary namedArgs = null ) : object

Call a method on an object with named arguments.

InvokeStaticMethod ( Type type, string methodName, object args, object>.Dictionary namedArgs = null ) : object

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.

메소드 상세

FindAllAssets() 공개 정적인 메소드

Get all assets managed by this module.
public static FindAllAssets ( ) : string[]
리턴 string[]

FindClass() 공개 정적인 메소드

Find a class from an assembly by name.
public static FindClass ( string assemblyName, string className ) : Type
assemblyName string Name of the assembly to search for.
className string Name of the class to find.
리턴 System.Type

InvokeInstanceMethod() 공개 정적인 메소드

Call a method on an object with named arguments.
public static InvokeInstanceMethod ( object objectInstance, string methodName, object args, object>.Dictionary namedArgs = null ) : object
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

InvokeMethod() 공개 정적인 메소드

Call a method on an object with named arguments.
public static InvokeMethod ( Type type, object objectInstance, string methodName, object args, object>.Dictionary namedArgs = null ) : object
type System.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

InvokeStaticMethod() 공개 정적인 메소드

Call a static method on an object.
public static InvokeStaticMethod ( Type type, string methodName, object args, object>.Dictionary namedArgs = null ) : object
type System.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

SearchAssetDatabase() 공개 정적인 메소드

Search the asset database for all files matching the specified filter.
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[]

UpdateVersionedAssets() 공개 정적인 메소드

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.
public static UpdateVersionedAssets ( bool forceUpdate = false ) : void
forceUpdate bool
리턴 void