Questions tagged as 'unity2d'

2
answers

Sprites overlap Unity C #

Hello I am developing a simulator in unity the problem that I have is with the Sprites that would be being tools in the game / simulator, in this case I must use about 8 sprites that simulate being objects which I have to take them and drag them...
asked by 03.08.2016 / 23:57
2
answers

Unity - Polygon Collider 2D does not follow my character

I'm practicing with unity , and I was following a tutorial that explained step by step how to develop a simple platform game. The problem I have is that by designating a Polygon Collider 2D to my character, he does not follow it when making...
asked by 26.07.2018 / 22:16
0
answers

unity: HTTP PUT problems

I'm new to unity but I managed to do the http get, post, delete methods. My problem occurs in the PUT, I get the call right to the server, however it does not do anything, and changes everything to null, I suppose it is an error in the variable...
asked by 25.12.2017 / 17:10
1
answer

Timer countdown C #

Hi, I'm doing a game in Unity which must have a chronometer that starts at 60, when it reaches 30 it should change the color of the letters to red and when it reaches 0 it should start to increase and not go to negative until now I have the init...
asked by 02.08.2016 / 16:06
2
answers

Use of js and c # in unity. Equal performance?

I'm starting with unity. And I see that you can use c # and js to program. My question is whether both c # and js would have the same performance. And if js can do all the functions that c # can do.     
asked by 25.08.2016 / 22:04
1
answer

How to pass a value from one script to another

In a scene I get the data entered by the user, once you enter the data with a button changes the scene but the problem is that I do not know how to pass that value to the other scene. the method where I get the value of the data and change the s...
asked by 30.11.2018 / 13:00
1
answer

Unity does not change the scenes

In my Unity project I have these two scenes: And I had this code to change the scene with a trigger: void OnTriggerEnter2D(Collider2D other) { //DETECTA TRIGGER PARA ENTRAR A CASA if(other.gameObject.name.Equals("casa")){...
asked by 31.10.2018 / 11:04
1
answer

Script is disabled when the scene starts - C # Unity2d

I have been trying to solve the error for hours, I have a script which I use to pass information between scenes, like the character I selected in the character selection scene that I have created. All this works, but the script is disabled when...
asked by 14.11.2016 / 20:21
1
answer

Drag and Drop Unity

I am starting with Unity in the development of a simulator for Smartphones for both Android and Ios, it is basically a drag and drop of objects to simulate actions. I followed some tutorials of movement of objects and actions but I need this to...
asked by 29.07.2016 / 16:55
1
answer

Trampolin problem in Unity

I recently started programming at Unity so I'm pretty new to what it means. I've been trying to make a kind of "springboard" or spring in a 2D project. I tried to do with the Spring2D components but I still did not find a way to do it with this,...
asked by 20.12.2018 / 00:55