Class EditorAssetContext

Namespace
SurvivorsMaker.Editor
Assembly
SurvivorsMaker.Editor.dll

Direct catalog/content wins, then the selected catalog/content, then containing contents. Multiple distinct containing catalogs are ambiguous. With no containing content, only a single project catalog is used. Searches are path-sorted; no arbitrary first-match fallback.

[InitializeOnLoad]
public static class EditorAssetContext
Inheritance
EditorAssetContext
Inherited Members

Methods

Assets<T>()

public static List<T> Assets<T>() where T : Object

Returns

List<T>

Type Parameters

T

Invalidate()

public static void Invalidate()

Resolve(Object, Object)

public static EditorStatContext Resolve(Object inspected, Object selection = null)

Parameters

inspected Object
selection Object

Returns

EditorStatContext

ResolveCandidates(Object, Object, IEnumerable<ContentAsset>, IEnumerable<StatCatalogAsset>)

public static EditorStatContext ResolveCandidates(Object inspected, Object selection, IEnumerable<ContentAsset> contents, IEnumerable<StatCatalogAsset> catalogs)

Parameters

inspected Object
selection Object
contents IEnumerable<ContentAsset>
catalogs IEnumerable<StatCatalogAsset>

Returns

EditorStatContext