onHeight(onHeight): void
onHeight
void
Register a callback that returns the height of this HUD element.
Function
Function returning the height in pixels.
hudManager.onHeight(() => { return 20; });
Last updated 13 days ago