static void Postfix(PlayerGuiLayer __instance, PUI_Inventory ___Inventory, PUI_LocalPlayerStatus ___m_playerStatus, PUI_WardenIntel ___m_wardenIntel, PUI_GameEventLog ___m_gameEventLog, PUI_Compass ___m_compass, PUI_GameObjectives ___m_wardenObjective) { ___Inventory.SetPosition(new Vector2(-500f, -250f)); ___Inventory.transform.localScale *= .0f; ___m_compass.SetPosition(new Vector2(0.0f, -250f)); ___m_compass.transform.localScale *= .75f; if (VRSettings.disableCompass) { ___m_compass.transform.localScale *= .0f; } ___m_gameEventLog.SetPosition(new Vector2(150f, 100f)); ___m_gameEventLog.transform.localScale *= .0f; ___m_wardenIntel.SetPosition(new Vector2(0, 0f)); ___m_wardenIntel.transform.localScale *= .5f; ___m_wardenIntel.SetAnchor(GuiAnchor.MidCenter); ___m_wardenObjective.SetPosition(new Vector2(625f, -475f)); ___m_wardenObjective.transform.localScale *= .0f; ___m_playerStatus.SetPosition(new Vector2(0.0f, 180f)); ___m_playerStatus.transform.localScale *= 0f; PlayerVR.SetPlayerGUIInstance(__instance); }
public static void SetPlayerGUIRef(PlayerGuiLayer playerGUIRef, PUI_Compass compassRef, PUI_WardenIntel intelRef) { intel = intelRef; compass = compassRef; playerGUI = playerGUIRef; }