public void OnPointerClick(PointerEventData eventData) { if (active) { LevelSwitcher.loadLevel(level.getId() + 1); AudioProvider.getInstance().playAudio("Standard Button"); } }
public void OnPointerClick(PointerEventData eventData) { AudioProvider.getInstance().playAudio("Standard Button"); LevelSwitcher.loadLevel(id); }