Example #1
0
 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();
 }
Example #2
0
 //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();
 }