Unity 3D的创建项目时的2D 3D选择的差别。

https://docs.unity3d.com/Manual/2DAnd3DModeSettings.html

2D and 3D Mode Settings

When creating a new project, you can specify whether to start the Unity Editor in 2D mode or 3D mode. However, you also have the option of switching the editor between 2D Mode and 3D Mode at any time. You can read more about the difference between 2D and 3D projects here. This page provides information about how to switch modes, and what exactly changes within the editor when you do.

Switching Between 3D and 2D Modes

To change modes between 2D or 3D mode:

  1. Bring up to the Editor Settings Inspector, via the Edit>Project Settings>Editor menu.
  2. Then set Default Behavior Mode to either 2D or 3D.

You can find out more about the Editor Settings Inspector on the Editor Settings page.

Default Behavior Mode in the Editor Settings Inspector sets the project to 2D or 3DDefault Behavior Mode in the Editor Settings Inspector sets the project to 2D or 3D

2D vs 3D Mode Settings

2D or 3D mode determines some settings for the Unity Editor. These are listed below.

In 2D Project Mode:

  • Any images you import are assumed to be 2D images (Sprites) and set to Sprite mode.
  • The Sprite Packer is enabled.
  • The Scene View is set to 2D.
  • The default game objects do not have real time, directional light.
  • The camera’s default position is at 0,0,–10. (It is 0,1,–10 in 3D Mode.)
  • The camera is set to be Orthographic. (In 3D Mode it is Perspective.)
  • In the Lighting Window:
    • Skybox is disabled for new scenes.
    • Ambient Source is set to Color. (With the color set as a dark grey: RGB: 54, 58, 66.)
    • Precomputed Realtime GI is set to off.
    • Baked GI is set to off.
    • Auto-Building set to off.

In 3D Project Mode:

  • Any images you import are NOT assumed to be 2D images (Sprites).
  • The Sprite Packer is disabled.
  • The Scene View is set to 3D.
  • The default game objects have real time, directional light.
  • The camera’s default position is at 0,1,–10. (It is 0,0,–10. in 2D Mode.)
  • The camera is set to be Perspective. (In 2D Mode it is Orthographic.)
  • In the Lighting Window:
    • Skybox is the built-in default Skybox Material.
    • Ambient Source is set to Skybox.
    • Precomputed Realtime GI is set to on.
    • Baked GI is set to on.
    • Auto-Building is set to on.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值