Questions tagged as 'unity-5'

1
answer

Keeping audio from one scene to another on Unity

I need help. I'm doing a 2D game on Unity. And I'd like to know how I can keep the audio (background music) from one scene to another and keep it from where it left off. And also how I would do to specify the scenes he should continue, and th...
asked by 11.07.2018 / 10:58
2
answers

Database connection on Unity

I am developing a game in unity and we have reached the part where it is necessary to store the players' scores in a database. This information will be used in the rank that will appear at the end of the round. However, I do not understand how t...
asked by 27.09.2016 / 19:34
2
answers

Drive with TouchScrren 2D

I need to make a C # Script code for moving a 2d character on Unity. I developed a code that runs well on the pc using the arrows, but I have no idea how to move it using touchScren from an Android phone. Here's what I've done: using Uni...
asked by 12.02.2016 / 06:33
1
answer

How to test an Unity-created app for Android in an emulator with logcat as in Android Studio?

In unity veloping for Android, it does not test exactly like an emulator as Android Studio . I know I can generate a apk and test on the physical device, but I wanted to test on an emulator or even on the physical device with log...
asked by 07.02.2016 / 20:17
1
answer

Obtain / Render edges of a 3D object

I have the following question regarding getting the positions of a particular edge of a 3D object. Example, I have a track (car game) and I want to calculate, through a C # script, both sides of the track. See image: I have the posit...
asked by 12.03.2018 / 19:55
1
answer

Blurred text when activating Canvas

Image as it should be: ImageblurredafterfirstturningoffCanvas,andactivatinganotherCanvas: IusetwoCanvasinthesameScene,oneforlogin,whichstartsenabled,anotherfortherecordthatstartsoff,andwhentheregisterbuttonisclicked,itactivatestheCanvasregis...
asked by 08.02.2018 / 05:47
0
answers

How do I open a google maps tab in unity without buying an Asset?

I'm having trouble figuring out how to open a tab or the google maps app in my app within unity, and I can not buy Asset to make it easier, what do I do? do you have any other website or app that I can use and make it easier?     
asked by 06.10.2017 / 13:52
0
answers

How to load json remote file content into unity 5?

I have 60 urls, but www.text only returns me 45. I have no errors. Below is my code. public class LoadPhoto : MonoBehaviour { private string LinkJsonFile = "http://www.bollyshake.com/api/1/video/trending?page=2&per_page=60";...
asked by 19.02.2016 / 17:04
1
answer

AddComponent () with parameters in Unity3D?

Good morning everyone! In summary, I am trying to use "new" to build an object in Unity, but it says that it is not recommended to use new to instantiate an object and suggests using "AddComponent ()" but I am when creating a new object, 3 pa...
asked by 21.11.2017 / 12:56
1
answer

For What is this command?

Hello, I'm having a question and I need a C # command to enable and disable a layer inside the animator in 3d unity. This server command for this? Animator.GetLayerName ("Nadando"); In case I want to select the layer "Swimming".     
asked by 19.03.2018 / 19:41