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