This repository was archived by the owner on Sep 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
VRCMenuUtilsAPI
AtiLion edited this page Oct 17, 2019
·
10 revisions
Requires VRCMenuUtils namespace
Executes a coroutine after the VRChat flow manager is disabled and before it is enabled again.
Parameters
- func - The coroutine function to execute when the flow manager is disabled.
IEnumerator testFunc() {
yield break;
}
VRCMenuUtilsAPI.RunBeforeFlowManager(testFunc());
Shows a specific VRCUiPage on the menu.
Parameters
- page - The page to show on the menu
- removeHeader (default=true) - Should the header buttons be removed (Worlds, Social, ...)
- setupBody (default=true) - Should it create a new menu instance or just switch the menu
VRCUiPage page = VRCMenuUtilsAPI.GetPage("SocialMenu");
VRCMenuUtilsAPI.ShowUIPage(page, false, false);
Gets the VRCUiPage page of the specified pageId or null if he page is not found.
Parameters
- pageId - The ID of the page you are trying to get the instance of
Returns The VRCUiPage that matches the specified ID
VRCUiPage page = VRCMenuUtilsAPI.GetPage("SocialMenu");