기술 자료

Unity Engine

Unity Engine

FailInvalidSizeTarget

The target RectTransform has a zero or negative width or height. No change is made.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
FailInvalidSizeTarget = 5

Remarks

A RectTransform cannot fit a RectTransform inside a target with zero or negative dimensions. Ensure
target
has a positive width and height before calling RectTransform.TryFitInsideCoplanarRectTransform.