ConversionCache.

CreateWidthCache(GUIStyle) Method

Summary

Creates a Animancer.Editor.ConversionCache`2 for calculating the GUI width occupied by text using the specified `style`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
ConversionCache

Syntax

public static ConversionCache<string, float> CreateWidthCache(GUIStyle style)

Parameters

Name Type Description
style GUIStyle

Return Value

Type Description
ConversionCache<string, float>