ConversionCache Class

Summary

[Editor-Only] Utilities for InspectorGadgets.Editor.ConversionCache`2.
graph BT Type-->Base0["Object"] Type["ConversionCache"] class Type type-node

Syntax

public static class ConversionCache

Remarks

This class doesn't use any Editor-Only functionality, but it's unlikely to be useful at runtime.

Methods

Name Value Summary
CreateWidthCache(GUIStyle) ConversionCache<string, float>
Creates a InspectorGadgets.Editor.ConversionCache`2 for calculating the GUI width occupied by text using the specified `style`.
static
ToStringCached(float) string
[Animancer Extension] Calls System.Single.ToString(System.String) using "g" as the format and caches the result.
static