Example #1
0
 /// <summary>
 /// Extension method for StyleAdapter which converts it to an instance of UnityEngine.GUIStyle
 /// </summary>
 /// <param name="styleAdapter"></param>
 /// <returns></returns>
 public static GUIStyle ToGuiStyle(this IStyle styleAdapter)
 {
     return((GUIStyle)styleAdapter.GetWrapped());
 }