App
An application object provides member functions for initializing your application (and each instance of it) and for running the application.
Each application that uses the HnMVC can only contain one object derived from APP. This object is constructed when the contex class calls the Awake function. You should bind app to contex class in the start scene or any other scene that you want to make a test.
void OnInitInstance();
Remarks
Override OnInitInstance to initialize each new instance of your application running under unity.
void OnExitInstance();
Remarks
Override this function to clean up when your application terminates.
Example
Last updated