Site Update in progress. Please excuse any potential mess. 😊
VERSION
Doc Menu

Miscellaneous components for ScriptEngine

JanitorSpawner

JanitorSpawner manages the lifecycle of a Janitor object and configures it to clean up spawned GameObjects and clear console logs upon each reload of the ScriptEngine. Additionally, it supports respawning the Janitor upon scene loads to avoid unintended cleanups in scenarios involving additive scene loading. The standalone Janitor object is needed to better track runtime GameObjects.

DPIAdjuster

DPIAdjuster automatically adjusts the UI scale based on the screen's DPI. If enabled, it sets the UI scale to either a default value or double the default value when the screen's DPI exceeds a specified threshold (a simple implementation). The adjustment occurs at startup and whenever the screen DPI or resolution changes, provided the feature is set to auto-adjust.

WebApi

This is a simple example component to show how you may implement a fetch-like function within the Unity environment.