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 Happy Harvest, 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

Happy Harvest demo: Get the latest 2D techniques

Check out these in-depth articles to learn how to create the 2D visuals featured in Happy Harvest.

2D light and shadow techniques in URP

Learn how lights and shadows in the Happy Harvest demo are created using the Universal Render Pipeline (URP) in Unity 2022 LTS.

How to animate 2D characters in Unity 2022 LTS

Learn how the character in the Unity sample project, Happy Harvest, is animated. This article covers rigging, 2D skeletal animations, sprite swapping, and more.

How to create art and gameplay with 2D tilemaps

Learn how the Unity Tilemap system is used to create the landscape in Happy Harvest, our top-down 2D farming simulation sample game.

取得巨大成功的 2D 游戏开发者十分依赖 Unity

Skul: The Hero Slayer
SouthPAW Games

Learn how Skul: The Hero Slayer’s acclaimed pixel art adventure took shape in Unity with tools like the Tilemap Editor, Pixel Perfect camera, Sprite Atlas, and more.

《Cuphead》
StudioMDHR

精妙艺术

《Cuphead》是同时支持单人及多人模式的跑酷与枪战动作平台游戏。这款游戏灵感来自于 20 世纪 30 年代的卡通片,画面为手绘水彩风,音乐也是原创爵士风格。

《Night in the Woods》
Finji

深度体验

《Night in the Woods》的吸引力源自于鲜明的角色塑造、对话和生动的 2D 美术风格。游戏背景设置在 Possum Springs 的一个小镇,带领玩家进入幽暗的游戏世界,探索生死存亡相关的精彩故事。

《Phased》
EpicHouse

改变关卡构建方式的 2D 工具

Tilemap 及其他工具帮助不同国家/地区的两名开发人员成功构建出一款出色的 2D 变形平台游戏,而这一切都是在他们的业余时间里完成。了解实现方式。

Resources

Discover comprehensive guides to help you get started with your own project.

2D development

The 2D game art, animation, and lighting for artists e-book is our most comprehensive development guide yet, created for Unity creators who want to make a commercial 2D game.

What’s new in the 2022 LTS

Check out the new features and improvements for artists and designers to optimize your creative workflows and build deeply immersive experiences.

Check out 2D techniques used in Happy Harvest

Learn how to harness the latest capabilities for creating 2D lights, shadows, and special effects with the Universal Render Pipeline (URP) in Unity 2022 LTS.

Get started with the Happy Harvest demo

Explore best practices any 2D creator can use, including keeping sprites flat, moving shadow and volume information to secondary textures, advanced Tilemap features, and much more. Now available on the Unity Asset Store.

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 政策页面

明白了