Method Set
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Set(string, object)
Sets globalThis[key]. Returns false (and logs nothing) when there is no live
runner yet - which is normal before the app has mounted, so callers should treat a
false return with the same tolerance the old API's null check had.
public static bool Set(string key, object value)
Parameters
keystringvalueobject
Returns
Remarks
Takes object rather than Object because the most common thing to expose is a UI Toolkit VisualElement, which is not a UnityEngine.Object.