UI button dosent show function

hi guys, i created a canvas and in it there is a panel with some buttons on it.

on the canvas itself there is script called MenuMeneger and to each panel there is a object called menu

using UnityEngine;
using System.Collections;

public class MenuManager : MonoBehaviour {

	public Menu currentMenu;
	public GameObject PlayerSettings ;
	void Start(){
		showMenu (currentMenu);
	}


	public void showMenu(Menu menu){
		currentMenu.setIsOpen (false);
		currentMenu = menu;
		currentMenu.setIsOpen (true);
	}

	public void chooseGameType(Menu menu,gametype myGameType){
		PlayerSettings.GetComponent<PreLevelSettings> ().setGameType (myGameType);
		currentMenu.setIsOpen (false);
		currentMenu = menu;
		currentMenu.setIsOpen (true);
	
	}
	public void choosePlayerRole(Menu menu,playerRole myPlayerRole){
		PlayerSettings.GetComponent<PreLevelSettings> ().setplayerRole (myPlayerRole);
		currentMenu.setIsOpen (false);
		currentMenu = menu;
		currentMenu.setIsOpen (true);
		
	}


	public void exitMenu(){
		Application.Quit ();
	}
}

somehow functions chooseGameType choosePlayerRole dosent show on the button select
and function showMenu and exitMenu does

thanks in advance

Gal

Its not showing because the function “choosePlayerRole” takes 2 parameters which are Menu menu,playerRole myPlayerRole. For it to show up, the function must take only 1 parameter. These parameters could be GameObject,int,float,string.