StayComp:
The stay component.
stay: boolean
If the obj should not be destroyed on scene switch.
scenesToStay?: string[]
Array of scenes that the obj will stay on.
The stay component.
If the obj should not be destroyed on scene switch.
Array of scenes that the obj will stay on.