Questions tagged [unity]

Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

Unity is a cross-platform game engine with a built-in IDE. It is used to develop video games, kiosks and simulations for web plugins, desktop platforms, consoles, and mobile devices.

It supports code written in C# which is compiled using the Mono framework or IL2CPP.

Previous versions also supported UnityScript (a JavaScript-like language) or Boo (Python-like), but those languages have been deprecated in recent Unity versions.

16377 questions
106
votes
6 answers

What is the proper way to handle data between scenes?

I am developing my first 2D game in Unity and I have come across what seems an important question. How do I handle data between scenes? There seems to be different answers to this: Someone mention using PlayerPrefs, while other people told me this…
Enrique Moreno Tent
  • 1,998
  • 4
  • 22
  • 32
65
votes
6 answers

What are the pro/cons of Unity3D as a choice to make games?

We are doing our school project with Unity3d, since they were using Shiva the previous year (which seems horrible to me), and I wanted to know your point of view for this tool. Pros: multi platform, I even heard Google is going to implement it in…
jokoon
  • 5,243
  • 8
  • 38
  • 59
43
votes
4 answers

What happens when Time.time gets very large in Unity?

As it is said here : Time.time The time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game. And as I know the time is stored in float. So, my question is what will happen when the value of time…
Yaroslav
  • 771
  • 1
  • 10
  • 17
35
votes
9 answers

I prefer C/C++ over Unity and other tools: is it such a big downer for a game developer?

We have a big game project using Unity at school. There are 12 of us working on it. My teacher seems to be convinced it's an important tool to teach students, since it makes students look from the high level to the lower level. I can understand his…
jokoon
  • 5,243
  • 8
  • 38
  • 59
32
votes
2 answers

How to upgrade a project in Unity Hub

Before Unity Hub, it used to be the case that if you opened up a project that was from an older version, you would be prompted to upgrade the project. I am now on the latest Unity Hub 2.0.0 and I am trying to open a project that was last saved with…
PixelCake Games
  • 594
  • 1
  • 5
  • 11
30
votes
6 answers

What is the most serious limitation of Unity?

Having read this heated question about Unity vs. UDK vs. ID something, I'm curious to know: what the repeatedly-hit, most crippling limitation(s) of Unity? In order to keep this question non-subjective, again, I'm talking about the top repeated…
ashes999
  • 11,261
  • 9
  • 59
  • 95
28
votes
5 answers

When should I use velocity versus addForce when dealing with player objects?

I'm confused about these two methods in the Unity framework. Both make the player object move, stop, change direction, etc. When should one be used over the other and when is one appropriate?
Robert
  • 604
  • 3
  • 9
  • 16
25
votes
9 answers

Best place for learning how to write games in Unity3d

What's the best place for tutorials & other learning resources for unity3d?
CodeAndCats
  • 395
  • 1
  • 8
  • 13
20
votes
1 answer

Why do I seem to lose control of my computer when full screen Unity game loses focus?

When I press Ctrl+Alt+Esc or Ctrl+Shift+Esc the game loses focus, but then the whole PC is unusable and I need to restart the PC to regain control How do I prevent the computer from locking up (let the player control their PC) when a full screen…
Samurai Fox
  • 335
  • 2
  • 5
  • 15
17
votes
6 answers

How do I create a toggle button in Unity Inspector?

I want to create a tool similar to Unity's Terrain tool, which has some nice toggle buttons in the inspector: How can I achieve similar design to this? I know how to create normal buttons and other UI components in the inspector, but I can not…
Lasse
  • 3,241
  • 2
  • 20
  • 31
17
votes
3 answers

Unity coroutine vs threads

Whats the difference between a coroutine and a thread? Are there any advantages of using one over the other?
StrengthPlusPlus
  • 416
  • 1
  • 4
  • 11
16
votes
6 answers

Unity3D, how much code do you write?

I'm curious to know the workflow when creating a game in Unity3D? Does it generate a lot of code for you? My understanding is that you describe the game in Unity and do scripting on the back end to do the logic. Kind of like you use Unity to…
Joey Green
  • 2,509
  • 4
  • 26
  • 46
15
votes
2 answers

Does Unity own my game?

I made my first game in unity, and I was wondering if I can sell it without owing anything to unity?
Tokamocha
  • 427
  • 2
  • 5
  • 11
15
votes
3 answers

Where to attach global scripts in Unity?

As far as Iknow in Unity, every script must be attached to an object. But what is the case with global scripts? For example in a tetris-like game to which object should I attach the element spawner and mover scripts? Or should a the element handle…
nosferat
  • 812
  • 2
  • 11
  • 24
15
votes
5 answers

Unity 3D engine for Ubuntu?

Is there any way to get Unity 3D to run on Ubuntu. I am currently running Ubuntu 12.04 64bit edition. I also have Wine installed.
davey
  • 418
  • 1
  • 5
  • 6
1
2 3
99 100