Build incredible 2D games
Out of the box, Unity offers user-friendly 2D features that work seamlessly together.
Build immersive 2D worlds
Create immersive 2D worlds directly in the Editor using artist-friendly and powerful features. Make rich, free-form organic worlds driven by splines with 2D SpriteShape. Build large grid-based worlds with 2D Tilemap using square, hexagonal, or isometric tiles.
Empower your artists with procedurally driven SpriteShapes, Tilemap tiles, and brushes. Use code to generate complete worlds or boost productivity by automating various aspects of painting and layout. Both 2D SpriteShape and the 2D Tilemap Editor offer complete APIs, documentation, and compatibility with many other Unity systems.
Create lifelike 2D characters
Build 2D characters right in Unity using the 2D suite’s complete character creation and animation features.
Work with multilayered source art using the 2D PSD Importer. This imports, separates, and slices up the various parts of a character, then automatically reconstructs it as a Prefab ready for further rigging and animation.
Create flipbook characters with a powerful asset pipeline, and start animating almost immediately using automatically generated keyframes.
Create deformable characters using skin and bones. You can perform partial or full character skin swaps efficiently at runtime, and 2D Inverse Kinematics lets you animate 2D characters in the Editor.
Render stunning 2D graphics
Render atmospheric visuals that bring a scene to life with 2D Lights. Play with the contrast of lights’ colors, intensity, and placement to build a mood, and control interaction with sprites using native Sorting Layers.
Create depth in graphics with highly expressive 2D Shadow features that add depth and texture to a scene.
Push the limits of 2D graphics with custom shaders in Shader Graph that incorporate your very own rendering algorithm, and create dynamic scene effects with VFX Graph. For a dash of nostalgia, render everything in Pixel Perfect, which is supported natively in the Unity Editor.
Optimized 2D physics engine
Unity comes with dedicated and optimized 2D physics, with many more features and optimizations to power your game.
Objects anchored to another object also can benefit from physics with 2D Joints, adding realism to a sliding platform, chain, spring, or car.
Do you want to simulate buoyancy or magnets? 2D Effectors can add non-contact physics effects.
Foundational sprite and optimization tools
Set up and optimize art assets for your 2D projects. Slice, tile, adjust the pivot, redefine shapes, or add normal and mask texture sprites, all within the Sprite Editor.
Optimize your 2D game with Sprite Atlas, which enables you to pack your sprites into one texture to save draw calls and resize based on your target platform.
Help getting started
Access Unity’s massive user community, extensive body of frequently updated documentation, training for beginners, demos like Lost Crypt or Dragon Crashers, more advanced training like webinars, dedicated 2D forum, and other tips. Discover tools and resources to help you, at any skill level or for any project need.
取得巨大成功的 2D 游戏开发者十分依赖 Unity
Discover comprehensive guides to help you get started with your own project.