public static GameObject Instantiate(GameObject prefab, string key, Table from, Table to)
    {
        GameObject             go  = GameObject.Instantiate(prefab);
        ConfirmPopUpController cpc = go.GetComponent <ConfirmPopUpController> ();

        cpc.key  = key;
        cpc.from = from;
        cpc.to   = to;

        return(go);
    }
 public void OnDeliveryClick()
 {
     ConfirmPopUpController.Instantiate(confirmPopUpPrefab, key, Table.entregasMotorista, Table.entregasHub);
 }