Interface ISpriteEditor
Assembly: UnityEditor.dll
Syntax
public interface ISpriteEditor
Properties
|
Improve this Doc
View Source
editingDisabled
Declaration
bool editingDisabled { get; }
Property Value
|
Improve this Doc
View Source
enableMouseMoveEvent
Declaration
bool enableMouseMoveEvent { set; }
Property Value
|
Improve this Doc
View Source
selectedSpriteRect
Declaration
SpriteRect selectedSpriteRect { get; set; }
Property Value
|
Improve this Doc
View Source
spriteRects
Declaration
List<SpriteRect> spriteRects { set; }
Property Value
|
Improve this Doc
View Source
windowDimension
Declaration
Rect windowDimension { get; }
Property Value
Methods
|
Improve this Doc
View Source
ApplyOrRevertModification(Boolean)
Declaration
void ApplyOrRevertModification(bool apply)
Parameters
Type |
Name |
Description |
Boolean |
apply |
|
|
Improve this Doc
View Source
GetDataProvider<T>()
Declaration
T GetDataProvider<T>()
where T : class
Returns
Type Parameters
|
Improve this Doc
View Source
GetMainVisualContainer()
Declaration
VisualElement GetMainVisualContainer()
Returns
|
Improve this Doc
View Source
HandleSpriteSelection()
Declaration
bool HandleSpriteSelection()
Returns
|
Improve this Doc
View Source
RequestRepaint()
Declaration
|
Improve this Doc
View Source
SetDataModified()
Declaration
|
Improve this Doc
View Source
SetPreviewTexture(Texture2D, Int32, Int32)
Declaration
void SetPreviewTexture(Texture2D texture, int width, int height)
Parameters
Extension Methods