C# Class FullInspector.Rotorz.ReorderableList.Internal.ReorderableListResources

Resources to assist with reorderable list control.
Exibir arquivo Open project: jacobdufault/fullinspector

Public Properties

Property Type Description
texAddButtonActiveFlipped UnityEngine.Texture2D
texAddButtonFlipped UnityEngine.Texture2D

Public Methods

Method Description
CreatePixelTexture ( string name, Color color ) : Texture2D

Create 1x1 pixel texture of specified color.

Private Methods

Method Description
FlipTexture ( Texture2D texture ) : Texture2D
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

Method Details

CreatePixelTexture() public static method

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.
return UnityEngine.Texture2D

Property Details

texAddButtonActiveFlipped public_oe static_oe property

public static Texture2D,UnityEngine texAddButtonActiveFlipped
return UnityEngine.Texture2D

texAddButtonFlipped public_oe static_oe property

public static Texture2D,UnityEngine texAddButtonFlipped
return UnityEngine.Texture2D