Interface IHasRequiredIcons
Use this interface if your class has any icons which are not exist as separate objects.
E.g. achievements are stored in manager but we still need to make icons for them, so we tell that we want icons for all achievement through AchievementManager by adding this interface.
After that we can create a list of icons we want to have from this class and also you can provide a nice category name with IconsCategoryName (that will make life easier for the Art Team as Icon scene will have this category name).
Assembly: Eco.Shared.dll
Syntax
public interface IHasRequiredIcons
Fields
IconsCategoryName
Declaration
public static string IconsCategoryName
Field Value
Type |
Description |
System.String |
|
Methods
GetRequiredIcons()
Declaration
static IEnumerable<(string, string)> GetRequiredIcons()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.String>> |
|
Extension Methods