Requirement:
Call a method at the start of the application/game to initialize all my static variables. I have a class called as MyClass.js which has
static function MyFirstCall()
{
/* Game specific Initialization */
return myString;
}
I am using NGUI for my first screen. How do I call this method in MyClass.js from FirstScreen? Currently I am trying to call this in UICamera.cs Awake() method.
Javascript file is under Plugins while NGUI Scripts are under Plugins->NGUI.
Any help would be appreciated.