Exemplo n.º 1
0
    public void onClick()
    {
        canvasGameObject = GameObject.Find("Canvas");
        MenuRoot menuScript = canvasGameObject.GetComponent <MenuRoot>();

        menuScript.showMenu("Credits Root");
    }
Exemplo n.º 2
0
    public void onClick()
    {
        MenuRoot = GameObject.Find("Canvas");
        MenuRoot menuScript = MenuRoot.GetComponent <MenuRoot>();

        menuScript.showMenu("Load Game Root");
    }