Example #1
0
 private void OnInspectCB(GameObject obj)
 {
     if (this.guiNotification is GuiNotificationHeroLevelUp)
     {
         Amplitude.Unity.Gui.GuiPanel guiPanel = base.GuiService.GetGuiPanel <HeroInspectionModalPanel>();
         object[] array = new object[2];
         array[0] = this.FetchHero();
         guiPanel.Show(array);
         return;
     }
     base.GuiService.GetGuiPanel <HeroInspectionModalPanel>().Show(new object[]
     {
         this.FetchHero()
     });
 }