private SA_HyperLabel CreateLabel(string title, string icon, string iconFolder)
        {
            var image = SA_EditorAssets.GetTextureAtPath(iconFolder + icon);
            var label = new SA_HyperLabel(new GUIContent(title, image), SA_EditorStyles.DescribtionLabelStyle);

            label.SetMouseOverColor(SA_PluginSettingsWindowStyles.SelectedElementColor);
            return(label);
        }
Example #2
0
 public static Texture2D GetSocialIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(SOCIAL_ICONS_PATH + iconName));
 }
Example #3
0
 public static Texture2D GetGenericIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(GENERIC_ICONS_PATH + iconName));
 }
Example #4
0
 public static Texture2D GetAboutIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(ABOUT_ICONS_PATH + iconName));
 }
Example #5
0
 public static Texture2D GetSocialIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(k_SocialIconsPath + iconName));
 }
Example #6
0
 public static Texture2D GetGenericIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(k_GeneticIconsPath + iconName));
 }