private void OnEnable() { black.alpha = 0.0f; buttonCheck = true; canClick = false; levelID = LevelMgr.GetInstance().CurLevelID; data = LevelMgr.GetInstance().GetLevelConfig(levelID); value = LevelMgr.GetInstance().GetValueConfig(); OnShow(); }
//Google.Protobuf.Collections.RepeatedField<int>[] starRaings; private void OnEnable() { black.alpha = 0.0f; buttonCheck = true; //UIMgr.ShowPage(UIPageEnum.Play_Page); levelID = LevelMgr.GetInstance().CurLevelID; data = LevelMgr.GetInstance().GetLevelConfig(levelID); value = LevelMgr.GetInstance().GetValueConfig(); ShadowInit(); OnShow(); }