Click or drag to resize

ColorExtensionsToColor Method

Convert a hex color to a UnityEngine.Color

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static UnityEngine.Color ToColor(
	string hex
)

Parameters

hex
Type: SystemString
Hex color to convert

Return Value

Type: UnityEngine.Color
UnityEngine.Color with the values of the input hex
See Also