//获取当前模型原始高度
GetComponent<MeshFilter>().sharedMesh.bounds.size.y
//获取模型模型缩放比例
float scal_y =transform.lossyScale.y;
//当前高度 = 原始高度 * 缩放比例
//获取当前模型原始高度
GetComponent<MeshFilter>().sharedMesh.bounds.size.y
//获取模型模型缩放比例
float scal_y =transform.lossyScale.y;
//当前高度 = 原始高度 * 缩放比例