C# Class Tangzx.ABSystem.ABBuilder

Exibir arquivo Open project: tangzx/ABSystem

Protected Properties

Property Type Description
dataWriter AssetBundleDataWriter
pathResolver AssetBundlePathResolver

Public Methods

Method Description
ABBuilder ( ) : System.Collections.Generic
ABBuilder ( AssetBundlePathResolver resolver ) : System.Collections.Generic
AddRootTargets ( DirectoryInfo bundleDir, string partterns = null, SearchOption searchOption = SearchOption.AllDirectories ) : void
Analyze ( ) : void
Begin ( ) : void
End ( ) : void
Export ( ) : void
SetDataWriter ( AssetBundleDataWriter w ) : void

Protected Methods

Method Description
InitDirs ( ) : void
RemoveUnused ( List all ) : void

删除未使用的AB,可能是上次打包出来的,而这一次没生成的

SaveDepAll ( List all ) : void

Method Details

ABBuilder() public method

public ABBuilder ( ) : System.Collections.Generic
return System.Collections.Generic

ABBuilder() public method

public ABBuilder ( AssetBundlePathResolver resolver ) : System.Collections.Generic
resolver AssetBundlePathResolver
return System.Collections.Generic

AddRootTargets() public method

public AddRootTargets ( DirectoryInfo bundleDir, string partterns = null, SearchOption searchOption = SearchOption.AllDirectories ) : void
bundleDir System.IO.DirectoryInfo
partterns string
searchOption SearchOption
return void

Analyze() public method

public Analyze ( ) : void
return void

Begin() public method

public Begin ( ) : void
return void

End() public method

public End ( ) : void
return void

Export() public method

public Export ( ) : void
return void

InitDirs() protected method

protected InitDirs ( ) : void
return void

RemoveUnused() protected method

删除未使用的AB,可能是上次打包出来的,而这一次没生成的
protected RemoveUnused ( List all ) : void
all List
return void

SaveDepAll() protected method

protected SaveDepAll ( List all ) : void
all List
return void

SetDataWriter() public method

public SetDataWriter ( AssetBundleDataWriter w ) : void
w AssetBundleDataWriter
return void

Property Details

dataWriter protected_oe property

protected AssetBundleDataWriter,Tangzx.ABSystem dataWriter
return AssetBundleDataWriter

pathResolver protected_oe property

protected AssetBundlePathResolver,Tangzx.ABSystem pathResolver
return AssetBundlePathResolver