C# 클래스 Borodar.ReorderableList.Internal.ReorderableListResources

Resources to assist with reorderable list control.
파일 보기 프로젝트 열기: PhannGor/unity3d-rainbow-folders

공개 메소드들

메소드 설명
CreatePixelTexture ( string name, Color color ) : Texture2D

Create 1x1 pixel texture of specified color.

GetTexture ( ReorderableListTexture name ) : Texture2D

Gets light or dark version of the specified texture.

비공개 메소드들

메소드 설명
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

메소드 상세

CreatePixelTexture() 공개 정적인 메소드

Create 1x1 pixel texture of specified color.
public static CreatePixelTexture ( string name, Color color ) : Texture2D
name string Name for texture object.
color Color Pixel color.
리턴 UnityEngine.Texture2D

GetTexture() 공개 정적인 메소드

Gets light or dark version of the specified texture.
public static GetTexture ( ReorderableListTexture name ) : Texture2D
name ReorderableListTexture
리턴 UnityEngine.Texture2D