Here are the examples of the csharp api UnityEngine.GUIStyle.ApplyStyle(UnityEngine.TextAnchor, UnityEngine.FontStyle, int, bool, UnityEngine.Color[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
View Source File : Helper.cs
License : GNU General Public License v3.0
Project Creator : aelariane
License : GNU General Public License v3.0
Project Creator : aelariane
public static void ApplyStyle(this GUIStyle style, TextAnchor anchor, FontStyle fstyle, int fontSize, bool wordWrap, Color color)
{
if (style == null)
{
return;
}
style.ApplyStyle(anchor, fstyle, fontSize, wordWrap, new Color[6].Select(x => color).ToArray());
}