Version: 2021.2
언어: 한국어
public float height ;

설명

The height of the rectangle, measured from the Y position.

Setting this value will also change yMax.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Rect rect = new Rect(0, 0, 10, 10); print(rect.height); rect.height = 20; } }