MAGES Instance

There are many components or subsystems in our SDK that you may need to access at any point, from any point. For example, getting the user’s left controller would involve searching it in the scene, or searching for the character first. For this purpose, we store all important references to our objects inside the MAGES Instance.

Example of using the MAGES Instance:

Using Mages Instance

In this example, we get the MAGES Instance, and get the controller class. We use that to get the left controller inside the level.