private void TableClick(SLS.Widgets.Table.Datum datum, SLS.Widgets.Table.Column column) { //int index = EquipmentNames.IndexOf(datum.elements[1].value); ////print(index); //if(index == -1) //{ // return; //} //Vector3 pos = EquipmentGameObject[index].transform.position; //for(int i = 0; i < EquipmentGameObject.Count; i++) //{ // if(i == index) // { // EquipmentGameObject[i].GetComponent<MaterialHelper>().SetTargetActive(true); // } // else // { // EquipmentGameObject[i].GetComponent<MaterialHelper>().SetTargetActive(false); // } //} //iTween.MoveTo(Target.gameObject, pos, 1f); //Camera.SetZoom(1f); print(123); SendMessageUpwards("SetTableActive", false); //SendMessageUpwards("FocusGameObjectName", datum.elements[1].value); TheEquipController.FocusGameObjectName(datum.elements[1].value); }