public void OnClickTableCell(TableViewCell cell, int row) { Debug.Log("OnClick!! " + row); GameObject intentObj = GameObject.Instantiate(intentPrefab); Intent intent = intentObj.GetComponent<Intent>(); intent.putInteger("row", row); Application.LoadLevel("ChatRoom"); }