Class ReorderableListResources
Resources to assist with reorderable list control.
Namespace: Unity.VisualScripting.ReorderableList.Internal
Syntax
public static class ReorderableListResources
Properties
texHighlightColor
Declaration
public static Texture2D texHighlightColor { get; }
Property Value
Type | Description |
---|---|
Texture2D |
Methods
CreatePixelTexture(String, Color)
Create 1x1 pixel texture of specified color.
Declaration
public static Texture2D CreatePixelTexture(string name, Color color)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name for texture object. |
Color | color | Pixel color. |
Returns
Type | Description |
---|---|
Texture2D | The new |
GetTexture(ReorderableListTexture)
Gets light or dark version of the specified texture.
Declaration
public static Texture2D GetTexture(ReorderableListTexture name)
Parameters
Type | Name | Description |
---|---|---|
ReorderableListTexture | name |
Returns
Type | Description |
---|---|
Texture2D |