Exemple #1
0
 public void OnJetpackClick()
 {
     showingExplorers = true;
     currentExplorer  = ExplorerEnum.JETPACK;
     selectedTalent   = TalentEnum.SIGHT_RANGE;
     ReloadTalents();
 }
Exemple #2
0
 public void OnDashClick()
 {
     showingExplorers = true;
     currentExplorer  = ExplorerEnum.DASH;
     selectedTalent   = TalentEnum.SIGHT_RANGE;
     ReloadTalents();
 }
Exemple #3
0
 public void OnDoubleJumpClick()
 {
     showingExplorers = true;
     currentExplorer  = ExplorerEnum.DOUBLE_JUMP;
     selectedTalent   = TalentEnum.SIGHT_RANGE;
     ReloadTalents();
 }
Exemple #4
0
 void Awake()
 {
     showingExplorers = true;
     currentExplorer  = ExplorerEnum.DOUBLE_JUMP;
     currentNightmare = NightmareEnum.GHAST;
     sceneButtons     = new Dictionary <TalentEnum, TalentButton>();
     foreach (TalentButton button in FindObjectsOfType <TalentButton>())
     {
         sceneButtons[button.selectedTalent] = button;
     }
     ReloadTalents();
     selectedTalent = TalentEnum.SIGHT_RANGE;
     HandleTalentDisplayPanel();
 }