Summary:

  1. What are Plugins?
  2. How to set up a Single Sandbox Item
  3. How to set up Multiple SandboxItems at once
  4. How to Upload Plugin to Agora World
  5. Test your plugin in the Agora World app!
  6. How to Update your Plugin
  7. How to Share your Plugin
  8. Additional Tools for Editing a Plugin when in Agora World
  9. Coming Soon

What are Plugins?

Plugins in Agora World allow in-app creators to spawn unique objects into their experiences. On a technical level, a plugin is a folder of SandboxItems, which are Unity prefabs that have a collider and SandboxItemSDK component (or a component that inherits SandboxItemSDK properties). With Custom Code, plugins can also load custom scripts.

This tutorial will walk you through creating your first Agora World plugin:

<aside> 💡 NOTE: If you need custom code in your plugin, check out the Custom Code section after.

</aside>

https://youtu.be/QstJ-WjUqLA

How to set up a Single SandboxItem

  1. Open your Unity Project with the Agora World SDK imported.
    1. If you haven't done this yet, follow the instructions to get started in a New or Existing Unity Project in our Getting Started guide.
  2. Create and name a folder for your plugin.
    1. This folder can be located anywhere in your Unity project's Assets folder. We'll name ours "MyFirstPlugin"
  3. Open any Unity scene (preferably an empty one), and create a Capsule shape GameObject in the Hierarchy window (Right-click in Hierarchy window, 3D Object->Capsule from the menu that appears).