AnimancerGUI.

LayoutSingleLineRect(AnimancerGUI.SpacingMode) Method

Summary

Uses UnityEngine.GUILayoutUtility.GetRect(System.Single,System.Single) to get a UnityEngine.Rect occupying a single standard line with the Animancer.Editor.AnimancerGUI.StandardSpacing added according to the specified `spacing`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerGUI

Syntax

public static Rect LayoutSingleLineRect(AnimancerGUI.SpacingMode spacing = None)

Parameters

Name Type Description
spacing AnimancerGUI.SpacingMode

Return Value

Type Description
Rect