예제 #1
0
 protected override void OnEnable()
 {
     base.OnEnable();
     UpdateButtons();
     if (HasSavedGame())
     {
         UN.SetSelected(_continueBtn);
     }
     else
     {
         UN.SetSelected(_newBtn);
     }
     Events.AddGlobalListener <LG_NewLeagueInitializationFinishedEvent>(OnNewLeagueCreationFinished);
 }