本章导图:
链接如下: Unity基本操作 - 幕布
- 2D
- 2D图形
- Sprite Editor:从更大图像提取精灵图形
- Sprite Renderer:渲染精灵
- Sprite Creator:创建2D占位图像
- 2D物理
- packages
- 2D Animation 2D Animation provides the necessary tooling and runtime components for applying skeletal animation to your Sprites.
- 2D Pixel Perfect The 2D Pixel Perfect package contains the Pixel Perfect Camera component, which ensures your pixel art remains crisp and clear at different resolutions, and stable in motion.
- 2D PSD Importer The 2D PSD Importer package allows you to import multilayered PSD files from Photoshop. You can use this for your Sprites, or to rig your characters.
- 2D Sprite The Sprite Editor provides an in-Editor environment to create and edit Sprite assets. Sprite Editor lets you add custom behavior for editing Sprite-related data.
- 2D SpriteShape 2D Sprite Shape allows you to create organic shapes and terrains, similar to a vector drawing tool. For example, you can choose the fill texture and border Sprites.
- 2D Tilemap Editor 2D Tilemap Editor allows you to create grid-based worlds with square, hexagonal or isometric tiles. Add your Tiles to the Tile Palette, and paint and fill Tile Grids using different settings and brushes. Extra tools let you add smart drawing, randomization or animation to the Tile assets.
- Shader Graph Shader Graph lets you build your shaders visually.
- Cinemachine The Cinemachine package is a suite of modules that provide advanced functionality for operating the Unity Camera.
- 2D Tilemap Extras The 2D Tilemap Extras package contains reusable 2D and Tilemap Editor scripts that you can use for your own Projects.
- create a game
- Fundamentals
- 组件
- Transform: the Transform component determines the Position, Rotation, and Scale of each GameObject in the scene. Every GameObject has a Transform component.
- Sprite Renderer: the Sprite Renderer component renders the Sprite and controls how it looks in a scene.
- Cameras: devices that capture and display the world to the player. Marking a Camera as Orthographic removes all perspective from the Camera’s view. This is mostly useful for making isometric or 2D games.
- Collider 2D: this component defines the shape of a 2D GameObject for the purposes of physical collisions. See 2D Physics.
- 组件
- Scripting
- Sprites
- Building in-game environments
- Character animation
- There are three different ways you can animate 2D characters:Frame-by-frame Animation workflow. Cutout. Skeletal
- Graphics
- Introduction to Lights 2D.Because you’re using URP with the 2D Renderer, you can use the Light 2D component to apply optimized 2D lighting to Sprites.
- Shadow Caster 2D componentTo define the shape and properties that a Light uses to determine the shadows it casts
- Enhanced look and feel
- Physics 2D
- Audio
- add background music and sound effects
- User interface
- Profiling, optimizing and testing
- Publishing
- Fundamentals
- 2D图形
- 图形
- 物理
- 内置 3D 物理系统(集成 Nvidia PhysX 引擎)
- 内置 2D 物理系统(集成 Box2D 引擎)
- 插件
- 多玩家和联网
- 使用 Unity 开发多人游戏的用户。这些用户应该以 NetworkManager 或高级 API 为起点。
- 构建网络基础架构或高级多人游戏的用户。这些用户应该以 NetworkTransport API 为起点。
- 了解这些功能如何配合使用。可在此 Unity 论坛帖子中找到以下示例项目:
- 多人 2D 坦克示例游戏
- 具有配对功能的多人入侵者游戏
- 具有配对功能的多人 2D 太空射击游戏
- 最小的多人游戏项目
- 视频播放器组件
- 动画
- UI
- UI 工具包是 Unity 中最新的 UI 系统。
- 软件包(也称为 uGUI)是一个较旧的、基于游戏对象的 UI 系统,您可以使用它为游戏和应用程序开发运行时 UI。
- 立即模式图形用户界面 (IMGUI) 是一个代码驱动的 UI 工具包,它使用 OnGUI 函数以及实现它的脚本来绘制和管理用户界面。
- 导航和寻路
- 导航网格系统