SetConstrainProportions
Sets Constrain Proportions as it would be set in the Transform Inspector window.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
SetConstrainProportions(Transform, bool)
Sets Constrain Proportions as it would be set in the Transform Inspector window.
public static void SetConstrainProportions(Transform transform, bool enabled)
Parameters
SetConstrainProportions(Transform[], bool)
Sets Constrain Proportions as it would be set in the Transform Inspector window.
public static void SetConstrainProportions(Transform[] transforms, bool enabled)
Parameters
Transforms to set Constrain Proportions for.
Enable/Disable Constrain Proportions for passed transforms.