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); }
public static Texture2D GetSocialIcon(string iconName) { return(SA_EditorAssets.GetTextureAtPath(SOCIAL_ICONS_PATH + iconName)); }
public static Texture2D GetGenericIcon(string iconName) { return(SA_EditorAssets.GetTextureAtPath(GENERIC_ICONS_PATH + iconName)); }
public static Texture2D GetAboutIcon(string iconName) { return(SA_EditorAssets.GetTextureAtPath(ABOUT_ICONS_PATH + iconName)); }
public static Texture2D GetSocialIcon(string iconName) { return(SA_EditorAssets.GetTextureAtPath(k_SocialIconsPath + iconName)); }
public static Texture2D GetGenericIcon(string iconName) { return(SA_EditorAssets.GetTextureAtPath(k_GeneticIconsPath + iconName)); }