Skip to content

CoolPuppyKid/MVR-Plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MVR-Plugins

About:

Simple plugin system for Mirror VR

How To Use:

Step 1. Make a empty GameObject

image

Step 2. Add a PluginManager component to this new GameObject

image

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages