BitQuirky.Graph.Editor
Public bit quirky graph: editor symbols in BitQuirky.Graph.Editor.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Graph.GraphView.Editor
GraphPackageAssets
Section titled “GraphPackageAssets”Category: Low-level runtime
class BitQuirky.Graph.Editor.GraphPackageAssetsSource declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:106-125
The Graph assembly’s fonts, stylesheets and icons in any supported installation layout.
Members
Section titled “Members”IconExtension
Section titled “IconExtension”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.
Load<T>(string relativePath)
Section titled “Load<T>(string relativePath)”public static T Load<T>(string relativePath) where T : UnityEngine.ObjectSource declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:123-124
Loads one typed asset relative to the installed Graph package root.
Path(string relativePath)
Section titled “Path(string relativePath)”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.
PackageAssetPaths
Section titled “PackageAssetPaths”Category: Low-level runtime
class BitQuirky.Graph.Editor.PackageAssetPathsSource declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:12-102
Resolves assets beside their owning assembly, including product-private packages.
Members
Section titled “Members”PackageAssetPaths(Assembly assembly, string sourceEditorFolderGuid)
Section titled “PackageAssetPaths(Assembly assembly, string sourceEditorFolderGuid)”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.
Path(string relativePath)
Section titled “Path(string relativePath)”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.
ResolveRoot()
Section titled “ResolveRoot()”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.
TryResolveRoot()
Section titled “TryResolveRoot()”public bool TryResolveRoot()Source declaration: ../bitquirky-graph/Editor/GraphView/GraphPackageAssets.cs:80-101
Attempts the lookup once without throwing or scheduling a retry.
TryResolveRootAtLoad()
Section titled “TryResolveRootAtLoad()”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