Skip to content
Version 2.32.0
↓ Get the launcher

WindowSpec.IsolateCanvas property

Opt-in: render this window on its OWN nested uGUI Canvas (a batching boundary) instead of sharing the single overlay canvas with every other window. Changes inside this window (notably a ScrollRect moving its content every frame) then rebuild only THIS window’s batch, never dirtying or rebatching the overlay or sibling windows — the fix for a scroll/animation FPS drop that scales with how many other windows are open. Unlike OverrideSortingOrder this does NOT pin an absolute sortingOrder and does NOT opt out of sibling-order z: the nested Canvas uses overrideSorting=false, so BringToFront / ReorderWindows still work. Default false = unchanged (shared canvas). Added as an init property (NOT a ctor param) so WindowSpec stays source + binary compatible with already-compiled plugins.

public bool IsolateCanvas { get; set; }