csharp
public enum SpriteModeWhether a texture produces sprites, and how many.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Three states rather than a bool, because "one sprite" and "many" differ in what they produce and not only in how many. A single sprite is the texture itself with a pivot and a border; a sliced sheet is a sub-asset per cell, each of which something in a scene can reference by name. The distinction is the one Unity draws and it is the one that decides whether a re-slice can break an existing reference.
Fields and properties (3)
NoneNot a sprite. The texture ships and nothing else is produced.
SingleOne sprite covering the whole texture.
MultipleMany sprites, each a sub-asset.
Used by (10)
- Describes_Vixen_Editor_AssetEditors_Importing_TextureImportEditsVixen.Editor.AssetEditors
- SpriteDocumentTestsVixen.Editor.AssetEditors.Tests
- SpriteSheetViewVixen.Editor.AssetEditors
- SpriteViewTestsVixen.Editor.AssetEditors.Tests
- TextureImportEditsVixen.Editor.AssetEditors
- TextureImportSettingsVixen.Editor.Assets
- TextureImporterVixen.Editor.Assets
- TextureImporterTestsVixen.Editor.Assets.Tests
- TypeRegistrationVixen.Editor.Assets
- Vixen_Editor_AssetEditors_Importing_TextureImportEditsSerializerVixen.Editor.AssetEditors