void Awake() { _levelGuide = this.gameObject.GetComponent <LevelGuideModel>(); _iapMgr = this.gameObject.GetComponent <IAPMgr>(); _socialMgr = this.gameObject.GetComponent <SocialManager>(); _adsMgr = this.gameObject.GetComponent <AdsManager>(); // Init template data TemplateMgr.Instance.Init(); // Init Localize data LocalizeMgr.Instance.Init(); // Init finite state machine InitFiniteStateMachine(); // Init level list; InitLevelList(); // Init player prefs LoadPlayerPrefs(); // Init Localization InitLocalization(); // Init abbreviation InitAbbrHash(); // Init IAP _iapMgr.Init(); currentPlayedLevel = 0; }
void Awake() { _linkedLineList = new List <LinkedPair>(); _starDictionary = new Dictionary <int, int>(); _correctAnswerList = new List <int>(); _answerList = new List <int>(); _readyStar = null; _levelGuide = this.gameObject.GetComponent <LevelGuideModel>(); }