float x, y, z;
GameObject: ObjArr, ObjQueEstirar, ObjAbj;
float posiciony = (ObjArr.transform.position.y + ObjAbj.transform.position.y) / 2;
ObjQueEstirar.transform.position = new Vector3(ObjQueEstirar.transform.position.x, posiciony, ObjQueEstirar.transform.position.z);
x = 1;
y = (+ObjArr.transform.position.y - +ObjAbj.transform.position.y);
z = ObjArr.transform.localScale.z;
ObjQueEstirar.transform.localScale = new Vector3(x, y, z);