void OnFocus() { currentSingleton = AppBladePlugin_Singleton.Instance; appBladeSingletonExistsInScene = GameObject.Find("AppBlade"); if(!appBladeSingletonExistsInScene) { errorString = "The AppBlade Object couldn't be found in your current Scene. \nWe'll need one of those."; } }
void OnEnable() { //try to find the variables in the AppBladePlugin_Singleton, if there is one. (There needs to be one.) currentSingleton = AppBladePlugin_Singleton.Instance; }