• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by Mattia-Furlan · Feb 17, 2017 at 04:30 PM · 2dtexture2dsystem

Noob question about 2D graphic drawing system

Hi everyone! I'm Mattia and I decide to do an experiment making a mini-game with 2.5D graphic style like the old days with backgrounds pre-rendered. There are many posts in this forum with people asking how to make games like Resident Evil, Final Fantasy, etc. but my question is slightly different and it's more related to 2D texture and canvas elements. I started to look into several assets to understand how things works with 2D objects and making tests by myself, but the question is the same and I can't find a reason. Why the unity Engine, needs to draw tris, which mean it generate meshes, to show UI (2D) elements, images or texts on the screen? If you visualize the scene in wireframe mode, you can see that 2d objects are always meshes. Looking at the stats panel, I am aware that those triangles doesn't really take away too much resources to run the overall result but I would like to know why for a simple black background (not that one from the camera), generated via script, it generates a mesh. It sounds a little weird to me... Can someone explain me why unity have this behavior with 2D elements and why it cannot draw a simple picture directly on the screen? I'm really intrigued to know how the system works and if someone has some references, links, etc. would be really appreciated. Thanks, Matt.

P.S.: If there are grammar errors or bad english, my apologies

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Oana · Feb 18, 2017 at 07:14 AM 1
Share

Unity started off as a 3D engine, and the core of its functionality is still that.

It probably could have developed an independent system where everything is drawn on a canvas of sorts like with HT$$anonymous$$L5 games. But that is so different than the existing systems that they may as well have made a new engine.

Furthermore, some people combine 2D and 3D elements in their game. With the way the current system works, this is possible and relatively easy.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

131 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[SOLVED] Problems creating a Sprite through script 0 Answers

Memory Leaks when play pictures from local card using Sprite.Create 1 Answer

Sprite changes aspect ratio when converted to texture in unity 0 Answers

2d normal map inverts highlight/shadow workaround help 0 Answers

2D Sprite.Create isn't working 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges