Class SUThemeData
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class SUThemeData
Constructors
SUThemeData(String, SUThemeData)
Declaration
public SUThemeData(string name, SUThemeData currentTheme)
Parameters
Properties
Colors
Declaration
public List<SUGUIDColorData> Colors { get; }
Property Value
Fonts
Declaration
public List<SUGUIDFontData> Fonts { get; }
Property Value
FontSizes
Declaration
public List<SUGUIDFontSizeData> FontSizes { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
ResSprites
Declaration
public List<SUGUIDResourcesSpriteData> ResSprites { get; }
Property Value
Sprites
Declaration
public List<SUGUIDSpriteData> Sprites { get; }
Property Value
Methods
GetColor(String, out Color)
Declaration
public bool GetColor(string guid, out Color color)
Parameters
Type |
Name |
Description |
String |
guid |
|
Color |
color |
|
Returns
GetFont(String, out TMP_FontAsset)
Declaration
public bool GetFont(string guid, out TMP_FontAsset font)
Parameters
Type |
Name |
Description |
String |
guid |
|
TMP_FontAsset |
font |
|
Returns
GetFontSize(String, out Single)
Declaration
public bool GetFontSize(string guid, out float fontSize)
Parameters
Returns
GetSprite(String, out Sprite)
Declaration
public bool GetSprite(string guid, out Sprite sprite)
Parameters
Type |
Name |
Description |
String |
guid |
|
Sprite |
sprite |
|
Returns
GetSpriteRes(String, out Sprite)
Declaration
public bool GetSpriteRes(string guid, out Sprite sprite)
Parameters
Type |
Name |
Description |
String |
guid |
|
Sprite |
sprite |
|
Returns