Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.11.0
Menu

BitQuirky.Graph.Editor

Public bit quirky graph: editor symbols in BitQuirky.Graph.Editor.

Source snapshot 29003d8b1658.

Assembly: BitQuirky.Graph.GraphView.Editor

Category: Low-level runtime

C#
class BitQuirky.Graph.Editor.GraphPackageAssets

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:106-125

The Graph assembly’s fonts, stylesheets and icons in any supported installation layout.

C#
public const string IconExtension = ".bqicon"

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:111

The native icon extension registered by Graph’s dedicated icon importer assembly.

C#
public static T Load<T>(string relativePath) where T : UnityEngine.Object

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:123-124

Loads one typed asset relative to the installed Graph package root.

C#
public static string Path(string relativePath)

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:117

Resolves an asset path relative to the installed Graph package root.

Category: Low-level runtime

C#
class BitQuirky.Graph.Editor.PackageAssetPaths

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:12-102

Resolves assets beside their owning assembly, including product-private packages.

PackageAssetPaths(Assembly assembly, string sourceEditorFolderGuid)

Section titled “PackageAssetPaths(Assembly assembly, string sourceEditorFolderGuid)”
C#
public PackageAssetPaths(System.Reflection.Assembly assembly, string sourceEditorFolderGuid)

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:20-24

Parameters

  • assembly: An assembly shipped in the package that owns the assets.
  • sourceEditorFolderGuid: Original Editor folder GUID retained by the source archive.

C#
public string Path(string relativePath)

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:27-44

Returns a Unity asset path for a path relative to the owning package/source root.

C#
public void ResolveRoot()

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:50-58

Locates the owning package or imported-source root once, throwing when neither layout can be found.Pathcalls this on first use.

C#
public bool TryResolveRoot()

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:80-101

Attempts the lookup once without throwing or scheduling a retry.

C#
public bool TryResolveRootAtLoad()

Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:69-77

Attempts the same lookup without throwing. Owners call this from an InitializeOnLoadMethod: the Package Manager and AssetDatabase lookups it needs are refused inside type initializers and serialization-time constructors, which is where a firstPathcall from a static field would otherwise run. On the first domain load of a fresh install neither lookup may be ready yet, so a miss here is not an error: the lookup is retried once the Editor finishes loading, andPath resolves again on first use.

Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b

Full-size image