Méthode | Description | |
---|---|---|
CreatePixelTexture ( string name, Color color ) : |
Create 1x1 pixel texture of specified color.
|
|
GetTexture ( ReorderableListTexture name ) : |
Gets light or dark version of the specified texture.
|
Méthode | Description | |
---|---|---|
GenerateSpecialTextures ( ) : void |
Generate special textures.
|
|
GetImageSize ( byte imageData, int &width, int &height ) : void |
Read width and height if PNG file in pixels.
|
|
LoadResourceAssets ( ) : void |
Read textures from base-64 encoded strings. Automatically selects assets based upon whether the light or dark (pro) skin is active.
|
|
ReadInt ( byte imageData, int offset ) : int | ||
ReorderableListResources ( ) : System |
public static CreatePixelTexture ( string name, Color color ) : |
||
name | string | Name for texture object. |
color | Color | Pixel color. |
Résultat |
public static GetTexture ( ReorderableListTexture name ) : |
||
name | ReorderableListTexture | |
Résultat |