Table of Contents

Class FilePathCollector

Namespace
TAssetBundle
Assembly
TAssetBundle.dll

Collects asset paths under the same folder as this ScriptableObject. Editor-only utility for gathering asset paths at edit time.

[CreateAssetMenu(fileName = "FilePathCollector", menuName = "TAssetBundle/FilePathCollector", order = 1)]
public class FilePathCollector : ScriptableObject
Inheritance
Object
ScriptableObject
FilePathCollector
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Fields

recursive

Whether to search subdirectories recursively.

public bool recursive

Field Value

bool

searchPattern

File search pattern used by Directory.GetFiles. Empty or null means all files.

public string searchPattern

Field Value

string

Properties

Paths

Collected asset paths (normalized).

public string[] Paths { get; }

Property Value

string[]

RootPath

Normalized root folder path where this asset is located.

public string RootPath { get; }

Property Value

string