Class CustomEditorControlsIcons
Helper class that holds Base64-encoded icons.
Inheritance
System.Object
CustomEditorControlsIcons
Assembly: cs.temp.dll.dll
Syntax
public static class CustomEditorControlsIcons
Fields
BossIcon
Declaration
public static readonly string BossIcon
Field Value
Type |
Description |
System.String |
|
LockIcon
Declaration
public static readonly string LockIcon
Field Value
Type |
Description |
System.String |
|
ShopIcon
Declaration
public static readonly string ShopIcon
Field Value
Type |
Description |
System.String |
|
SpawnIcon
Declaration
public static readonly string SpawnIcon
Field Value
Type |
Description |
System.String |
|
TreasureIcon
Declaration
public static readonly string TreasureIcon
Field Value
Type |
Description |
System.String |
|
Methods
Base64ToTexture(String, FilterMode)
Converts a Base64 string to a Texture2D
Declaration
public static Texture2D Base64ToTexture(string base64, FilterMode filterMode = null)
Parameters
Type |
Name |
Description |
System.String |
base64 |
|
FilterMode |
filterMode |
|
Returns
Type |
Description |
Texture2D |
Texture2D containing an image from the given Base64 string
|