Simple plugin system for Mirror VR
Step 1. Make a empty GameObject
Step 2. Add a PluginManager component to this new GameObject
Step 3. Create Game Events (You can find an example in MVR Plugins\Scripts\Examples\ExampleEvent.cs):
[Event]
public class ExampleEvent
{
public int number { get; }
public ExampleEvent(int num)
{
number = num;
}
}Step 4. Invoking Game Events:
PluginManager.currentAPI.FireEvent<ExampleEvent>(new ExampleEvent(48));Creating a Plugin:
COMING SOON