Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 59889

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.

1 vote
3 answers
13k views

Check if object is overlapping

I have two objects, both of them with polygon colliders. When I click on one of the objects, I want the player to drag it on top of the other object (without collision). If there is overlap when he dr …
Daniel Bak's user avatar
4 votes
1 answer
822 views

Questions about scaling in a 2d game in unity [duplicate]

Okay, so: I am making an android game. I want everything to scale to the size of the screen I'm using. Further, my static background needs to scale (as well as every other object), but if the aspect …
Daniel Bak's user avatar
0 votes
2 answers
10k views

How do I add a gameobject to a prefab's script's public gameobject field in Unity? [duplicate]

Okay, I have a prefab with a script. It has the public field gameobject, and I see that in the inspector. When I try to drag an object from the scene into that slot, I'm simply unable to. No error or …
Daniel Bak's user avatar
0 votes
1 answer
6k views

In Unity, how do I create a drag and drop object?

I can't find any way to do this, and all of the resources for Unity are really daunting and I can't find anything relevant to what I'm doing. … Basic things like how to implement a script or what objects I need to attach these scripts to - the stuff on the unity website is a little too advanced. …
Daniel Bak's user avatar
0 votes
2 answers
77 views

Refer to a gameobject on start

So I want my script to set the initial position of an object depending on the size of the screen and whatever. How do I refer to the gameobject? I know you can modify stuff like their location if the …
Daniel Bak's user avatar
0 votes
2 answers
844 views

Will Unity automatically scale everything?

Will Unity automatically do this? … What will Unity do for me? I don't have a phone to actually test this on so I don't know what the app will end up looking like. …
Daniel Bak's user avatar