public void OpenEnemyInformationPanel(Enemy enemy, int wave)
 {
     EnemyInformationPanel.Open(enemy, wave);
 }
示例#2
0
 void AddEnemyButtonListener(Button button, Enemy enemy, int wave)
 {
     button.onClick.AddListener(() => {
         EnemyInformationPanel.Open(enemy, int.Parse(button.transform.parent.parent.parent.name));
     });
 }