Skip to main content

Open Group Page

tip

Submit an application if you want to join the Creator Economy!

The page below is only relevant to sellers with access to VRChat's Creator Economy.

OpenGroupPage is a prefab that makes it easier for users to access purchasable CE listings. Use it to create buttons that open group pages or specific listings.

How to Import

  1. Open the Example Central Window from the window from the Unity Editor Menu under "VRChat SDK > 🏠 Example Central"
  2. If you haven't enabled Creator Economy examples yet:
    1. Press the ⚙️ gear icon in the Example Central window to open the Example Central settings.
    2. Enable "Show Creator Economy Examples".
  3. Select this prefab in Example Central.
  4. Press the "Import" button to import the example assets into your project.

Prefabs included

  • OpenGroupPagePrefab: Includes a button that opens a group page. Also includes a text description.
  • OpenGroupPageSimplePrefab: Includes a button that opens a group page. Does not include a text description.

OpenGroupPrefab

How to Use

For each prefab, you'll need to replace any ID with the ID of your own group.

  1. Select the chosen prefab in your Unity scene.
  2. Set the ID of the group that owns the product in the Group ID field in the inspector window.
    • Find your group ID by opening your group on the website and copying the ID in the address bar of your browser. For example: grp_a4f791af-a167-4c91-b849-2e37e37f509a. Any short code (i.e. EXAMPL.9920) will not work.

DragGroupID

  1. Toggle the OpenToStorePage toggle on the prefab if you want to open to your store page directly. If unchecked, the button will open to your group page instead of directly to your store. IDPasting

  2. Run Build & Test!

Inspector Parameters

OpenGroupPage

  • Group ID - The group ID of the group you want to open.
  • Open To Store Page - If true, will open the store page for the group instead of the group info page.