Show / Hide Table of Contents

Interface ISpriteEditorDataProvider

Namespace: UnityEditor.Experimental.U2D
Assembly: UnityEditor.dll
Syntax
public interface ISpriteEditorDataProvider

Properties

| Improve this Doc View Source

pixelsPerUnit

Declaration
float pixelsPerUnit { get; }
Property Value
Type Description
Single
| Improve this Doc View Source

spriteImportMode

Declaration
SpriteImportMode spriteImportMode { get; }
Property Value
Type Description
SpriteImportMode
| Improve this Doc View Source

targetObject

Declaration
Object targetObject { get; }
Property Value
Type Description
Object

Methods

| Improve this Doc View Source

Apply()

Declaration
void Apply()
| Improve this Doc View Source

GetDataProvider<T>()

Declaration
T GetDataProvider<T>()
    where T : class
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetSpriteRects()

Declaration
SpriteRect[] GetSpriteRects()
Returns
Type Description
SpriteRect[]
| Improve this Doc View Source

HasDataProvider(Type)

Declaration
bool HasDataProvider(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
Boolean
| Improve this Doc View Source

InitSpriteEditorDataProvider()

Declaration
void InitSpriteEditorDataProvider()
| Improve this Doc View Source

SetSpriteRects(SpriteRect[])

Declaration
void SetSpriteRects(SpriteRect[] spriteRects)
Parameters
Type Name Description
SpriteRect[] spriteRects

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX