private void Update() { myTimeAccumulator += Time.deltaTime; if (myTimeAccumulator < .5f) { return; } myTimeAccumulator = 0; var player = myQuickMenu.field_Private_Player_0; if (player == null) { return; } var vrcPlayer = player.prop_VRCPlayer_0; if (vrcPlayer == null) { return; } UiExpansionKitSupport.QuickMenuUpdateTick(vrcPlayer); }
private void Update() { myTimeAccumulator += Time.deltaTime; if (myTimeAccumulator < .5f) { return; } myTimeAccumulator = 0; var player = UiExpansionKitSupport.GetUserSelectedInQm()?.GetPlayer(); if (player == null) { return; } var vrcPlayer = player.prop_VRCPlayer_0; if (vrcPlayer == null) { return; } UiExpansionKitSupport.QuickMenuUpdateTick(vrcPlayer); }