C# Класс TextureController, UnderworldExporter

Texture controller for applying palettes (UWPalette) to textures for object sprites.
Наследование: UWEBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
pal UWPalette,

Открытые методы

Метод Описание
RequestSprite ( int index, bool isAnimated ) : Sprite

Creates a sprite for a item object at the specified object index.

RequestSprite ( string AssetPath ) : Sprite

Loads the sprite from the specified asset path.

Start ( ) : void

Приватные методы

Метод Описание
LoadImage ( string BasePath ) : Texture2D
LoadImage ( string BasePath, int index ) : Texture2D

Описание методов

RequestSprite() публичный Метод

Creates a sprite for a item object at the specified object index.
public RequestSprite ( int index, bool isAnimated ) : Sprite
index int Index.
isAnimated bool If set to true is animated.
Результат Sprite

RequestSprite() публичный Метод

Loads the sprite from the specified asset path.
public RequestSprite ( string AssetPath ) : Sprite
AssetPath string Asset path.
Результат Sprite

Start() публичный Метод

public Start ( ) : void
Результат void

Описание свойств

pal публичное свойство

public UWPalette, pal
Результат UWPalette,