Class SpriteEditorExtension
Inherited Members
Namespace: UnityEditor.Experimental.U2D
Assembly: UnityEditor.dll
Syntax
public static class SpriteEditorExtension
Methods
| Improve this Doc View SourceGetSpriteID(Sprite)
Declaration
public static GUID GetSpriteID(this Sprite sprite)
Parameters
Type | Name | Description |
---|---|---|
Sprite | sprite |
Returns
Type | Description |
---|---|
GUID |
SetSpriteID(Sprite, GUID)
Declaration
public static void SetSpriteID(this Sprite sprite, GUID guid)
Parameters
Type | Name | Description |
---|---|---|
Sprite | sprite | |
GUID | guid |