C# 클래스 AssetBundleGraph.FileUtility

파일 보기 프로젝트 열기: unity3d-jp/AssetGraph 1 사용 예제들

공개 메소드들

메소드 설명
ContainsHiddenFiles ( string filePath ) : bool
CopyFileFromGlobalToLocal ( string absoluteSourceFilePath, string localTargetFilePath ) : void
DeleteFileThenDeleteFolderIfEmpty ( string localTargetFilePath ) : void
EnsureAssetBundleCacheDirExists ( BuildTarget t, NodeData node, bool remake = false ) : string
EnsurePrefabBuilderCacheDirExists ( BuildTarget t, NodeData node ) : string
GetAllFilePathsInFolder ( string localFolderPath, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : List
GetFilePathsInFolder ( string folderPath, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : List
GetPathWithAssetsPath ( string pathUnderAssetsFolder ) : string
GetPathWithProjectPath ( string pathUnderProjectFolder ) : string
IsMetaFile ( string filePath ) : bool
PathCombine ( ) : string
ProjectPathWithSlash ( ) : string
RemakeDirectory ( string localFolderPath ) : void

비공개 메소드들

메소드 설명
GetFilePathsRecursively ( string localFolderPath, List filePaths, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : void
_PathCombine ( string head, string tail ) : string

메소드 상세

ContainsHiddenFiles() 공개 정적인 메소드

public static ContainsHiddenFiles ( string filePath ) : bool
filePath string
리턴 bool

CopyFileFromGlobalToLocal() 공개 정적인 메소드

public static CopyFileFromGlobalToLocal ( string absoluteSourceFilePath, string localTargetFilePath ) : void
absoluteSourceFilePath string
localTargetFilePath string
리턴 void

DeleteFileThenDeleteFolderIfEmpty() 공개 정적인 메소드

public static DeleteFileThenDeleteFolderIfEmpty ( string localTargetFilePath ) : void
localTargetFilePath string
리턴 void

EnsureAssetBundleCacheDirExists() 공개 정적인 메소드

public static EnsureAssetBundleCacheDirExists ( BuildTarget t, NodeData node, bool remake = false ) : string
t BuildTarget
node NodeData
remake bool
리턴 string

EnsurePrefabBuilderCacheDirExists() 공개 정적인 메소드

public static EnsurePrefabBuilderCacheDirExists ( BuildTarget t, NodeData node ) : string
t BuildTarget
node NodeData
리턴 string

GetAllFilePathsInFolder() 공개 정적인 메소드

public static GetAllFilePathsInFolder ( string localFolderPath, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : List
localFolderPath string
includeHidden bool
includeMeta bool
리턴 List

GetFilePathsInFolder() 공개 정적인 메소드

public static GetFilePathsInFolder ( string folderPath, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : List
folderPath string
includeHidden bool
includeMeta bool
리턴 List

GetPathWithAssetsPath() 공개 정적인 메소드

public static GetPathWithAssetsPath ( string pathUnderAssetsFolder ) : string
pathUnderAssetsFolder string
리턴 string

GetPathWithProjectPath() 공개 정적인 메소드

public static GetPathWithProjectPath ( string pathUnderProjectFolder ) : string
pathUnderProjectFolder string
리턴 string

IsMetaFile() 공개 정적인 메소드

public static IsMetaFile ( string filePath ) : bool
filePath string
리턴 bool

PathCombine() 공개 정적인 메소드

public static PathCombine ( ) : string
리턴 string

ProjectPathWithSlash() 공개 정적인 메소드

public static ProjectPathWithSlash ( ) : string
리턴 string

RemakeDirectory() 공개 정적인 메소드

public static RemakeDirectory ( string localFolderPath ) : void
localFolderPath string
리턴 void