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);
        }
Esempio n. 2
0
 public static Texture2D GetSocialIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(SOCIAL_ICONS_PATH + iconName));
 }
Esempio n. 3
0
 public static Texture2D GetGenericIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(GENERIC_ICONS_PATH + iconName));
 }
Esempio n. 4
0
 public static Texture2D GetAboutIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(ABOUT_ICONS_PATH + iconName));
 }
Esempio n. 5
0
 public static Texture2D GetSocialIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(k_SocialIconsPath + iconName));
 }
Esempio n. 6
0
 public static Texture2D GetGenericIcon(string iconName)
 {
     return(SA_EditorAssets.GetTextureAtPath(k_GeneticIconsPath + iconName));
 }