You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Its possible to automate the pool size assignment by pulling the world size directly from the VRC Api
A function like this can get the current scenes VRCWorld into a variable
privatestaticasyncTaskGetWorld(){//get the pipeline manager by finding the PipelineManager component in the current scenePipelineManagerpipelineManager=GameObject.FindObjectOfType<PipelineManager>();varworldId=pipelineManager.blueprintId;//if its a new world (no id), skipif(worldId!=null){//get the world from the apiworld=awaitVRCApi.GetWorld(worldId,true);}}
And then you can query the max capacity by doing world.Capacity
Its possible to automate the pool size assignment by pulling the world size directly from the VRC Api
A function like this can get the current scenes VRCWorld into a variable
And then you can query the max capacity by doing
world.Capacity