Unknown identifier: 'EditorGUIUtility'.

I would like to use:

EditorGUIUtility.HSVToRGB

in my game javascript file. When I run it inside Unity window it works o.k., but when I try to buid & run, I get an error:

Unknown identifier: 'EditorGUIUtility'.

Can anyone help? Thanks in advance

tomekkie

EditorGUIUtility is an editor class. They are only used for extending the Unity editor and are not available at runtime.