C# 클래스 TextureController, UnderworldExporter

Texture controller for applying palettes (UWPalette) to textures for object sprites.
상속: UWEBase
파일 보기 프로젝트 열기: hankmorgan/UnderworldExporter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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,