Summary:
- What are Plugins?
- How to set up a Single Sandbox Item
- How to set up Multiple SandboxItems at once
- How to Upload Plugin to Agora World
- Test your plugin in the Agora World app!
- How to Update your Plugin
- How to Share your Plugin
- Additional Tools for Editing a Plugin when in Agora World
- 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
- Open your Unity Project with the Agora World SDK imported.
- 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.
- Create and name a folder for your plugin.
- This folder can be located anywhere in your Unity project's Assets folder. We'll name ours "MyFirstPlugin"
- 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).