Rus Scammell
Technical Product Manager,
Unity Technologies
2D in Unity – What’s New?
Released
9-Slice
9-Slice
• Technique to split and reuse different portions of an image.
• Demo
9-Slice
• No need to prepare multiple assets
• Useful for creating repeating patterns: e.g.: walls & floors
Sprite Editor Window
- Edit Outline
Sprite Editor Window – Edit Outline
• Edit the mesh for a Sprite, after it has been generated.
Sprite Editor Window – Edit Outline
• The Outline Editor is accessed via the Sprite Editor Window
• DEMO
Sprite Editor Window – Edit Outline
• Balance the trade-offs between alpha overdraw and polygon count.
Sorting Group Component
Sorting Group
• A component which groups the rendering order of SpriteRenderers.
Sorting Groups
• Commonly used for complex assemblies that are made up of several
Sprites.
• DEMO
Axis Distance Sort
Axis Distance Sort
• Renderers in Unity are sorted by several criteria.
• Axis Distance Sort sorts renderers by distance along an arbitrary axis.
Axis Distance Sort
• Use case: Sorting sprites by
height or along the Y-axis.
• Common in 2D games.
• Sprites that are higher are
sorted behind sprites that are
lower.
• DEMO
Physics 2D
• Contacts API
• CompositeCollider2D - DEMO
• EdgeRadius feature - DEMO
• Distance feature
• Particle collision code in 2D re-written
in SIMD
Coming Soon
Sprite Atlas
Sprite Atlas
• The Sprite Atlas replaces the current Sprite Packer with a friendlier, faster
and more versatile texture packing solution.
Sprite Atlas – Easy to Scale
• Pack:
• Individual Sprites
• A multi-sliced texture
• A folder
Sprite Atlas – More Control
• Explicitly set the Texture settings
• Decide how the generated atlas gets into your game
• Make variants of the same atlas
• DEMO
Sprite Mask
Sprite Mask
• Used to hide or reveal parts of a Sprite or
group of Sprites.
• DEMO
Tile Map
Tile Map
• For building tiled layouts on a grid.
• Tilemap-focused Experimental Preview Release 4.
Character Animation Tools
Character Animation Tools
• In Development.
• Brings native 2D skeletal animation workflows to Unity.
Thank you!

【Unite 2017 Tokyo】Unity5.6での2D新機能解説