private void OnItemDataBinding(object sender, ItemDataBindingArgs e)
        {
            GameObject dataItem = e.Item as GameObject;

            if (dataItem != null)
            {
                Text text = e.ItemPresenter.GetComponentInChildren <Text>(true);
                text.text = dataItem.name;
            }
        }
        private void OnItemDataBinding(object sender, ItemDataBindingArgs e)
        {
            GameObject gameObject = e.Item as GameObject;

            if (!Object.op_Inequality((Object)gameObject, (Object)null))
            {
                return;
            }
            ((Text)e.ItemPresenter.GetComponentInChildren <Text>(true)).set_text(((Object)gameObject).get_name());
        }