Unity 适用于 2D 领域

大部分顶尖 2D 创作者都借助 Unity 平台开发、发布游戏并赚取收益。了解此平台的功能以及您也可从中获得益处的方式。

Build incredible 2D games

Immersive 2D worlds

Create diverse organic or grid-based worlds with the Tilemap and SpriteShape features. Empower level designers with artist-friendly workflows and procedural tiles and brushes.

Lifelike and engaging 2D characters

Bring your game to life with engaging flipbook, cutout, and skeletal 2D characters. Enhance character workflows with multilayered source art, and animate with FK, IK, and blending.

Stunning 2D graphics

Render amazing 2D visuals with 2D Lights, shadows, and post-processing, with support for deep customization with Shader Graph and the Universal Render Pipeline (URP).

Advanced 2D physics

Simulate realistic 2D physics with highly optimized colliders, joints, and effectors, plus efficient simulation controls.

Unity 2D suite features

Out of the box, Unity offers user-friendly 2D features that work seamlessly together.

Worldbuilding collage

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.

Learn about 2D Tilemaps Learn about 2D SpriteShape
2D Character Rig

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.

Learn about 2D Animation
Characters and lighting simulation on Unity engine

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.

Learn about 2D Lights See 2D Pixel Perfect
2D Physics

Optimized 2D physics engine

Unity comes with dedicated and optimized 2D physics, with many more features and optimizations to power your game.

2D Colliders enable accurate detection of your sprites’ shapes, from primitive to custom shapes. If they also include a Rigidbody 2D, the objects will react to gravity and behave as solid objects.

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.

Learn about 2D Physics
Sprite editor and atlas

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.

To further optimize and debug your game, you can use Unity profiling tools like the Profiler, Frame Debugger, or Rendering Debugger.

Unity 2D Resources

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.

Get the 2D e-book

Get started with our 2D latest demo

Explore Dragon Crashers, an idle RPG side-scroller that showcases how Unity’s suite of 2D solutions and graphics technology can help you make your vision a reality. Plus, all the content can be reused in your own project to help you get started faster.

Frequently asked questions

What’s coming up on the roadmap?

You can follow the latest updates for our 2D solutions by visiting our Unity Platform Roadmap and share your feedback directly with the product team.

Where can I find the Unity manual?

Access the Unity Documentation to find a comprehensive manual to help you start developing 2D games in Unity.

Where can I ask questions and interact with Unity?

Check out the Unity Community Discussion forums to follow the latest updates and interact with 2D creators.

Where can I find learning content?

Advance your Unity skills with live sessions and over 750 hours of on-demand learning content designed for creators at every skill level. Check out Unity Learn here.

Which version of Unity should I start with?

Choose the latest LTS version to work with the most stable, dependable, and supported version of Unity. Get started from the Unity Hub or learn more here.

我们使用 Cookie 来确保为您提供网站的最佳体验。有关更多信息,请访问我们的 Cookie 政策页面

明白了