SphereColliderDefinitionsWindow.

GetTransformColor(Transform, float) Method

Summary

Returns a color based on the name of the `transform`.

Syntax

public static Color GetTransformColor(Transform transform, float alpha)

Parameters

Name Type Description
transform Transform
alpha float

Return Value

Type Description
Color