Questions tagged as 'unity-5'

1
answer

How to separate a string in unity c #

I would like to know how to separate a string in C # unity, I ended up looking at some similar questions for C # and not on unity, I often found this example string[] linha = reader.ReadLine().Split(new string[] { "||" }, StringSplitOptions.Re...
asked by 09.11.2017 / 18:33
1
answer

How to transform a "Unity5 Project" into apk, for Android

I'm following YouTube lessons on developing games with Unity5. After creating a project on Unity5, I would like to convert it to apk and test it on a mobile phone, but in the middle of the conversion, an error occurs, asking all the time to save...
asked by 15.01.2017 / 02:32
2
answers

How to make a transform.Translate () smoothed in unity5?

I need to translate a GameObject to any destination, but the transition must be smooth at a constant rate in such a way as to last the time that is passed by parameter. For example: void Move(GameObject obj, Vector3 destination, float d...
asked by 04.09.2016 / 10:24
1
answer

How to decrease the apk size generated in unity?

In Unity I noticed that the apk generated without any texture image script configuration, ie nothing comes out with a size of 20 MB , because they come out with this size and you can decrease that size ?     
asked by 30.01.2016 / 00:47
0
answers

How to round position in Unity

My object moves through the keys A, D, W, S. It moves from 1 to 1. However, this position is not always round, and can range from 1.5 to 1,900 and this disrupts the collision. Is there any command to round positions?     
asked by 27.05.2018 / 17:13
0
answers

Merging Android Manifest.xml failed with AdMob [UNITY]

The error is present when I try to build in my Android game in Unity, it simply blames error and says that it was not possible to give Merge in the AndroidManifest.xml file. Error1    AndroidSDKToolsException: Unable to merge android manif...
asked by 29.04.2018 / 08:48
0
answers

How to adjust caption with dubbing on a Beat Em'Up on Unity?

Could anyone help me how to put a dubbing (dialogue) inside a scene in a game Beat em'Up? My character goes through the game and when he finds the Boss he says something, in case I would like to put the speech audio along with the legend. Can an...
asked by 09.12.2017 / 15:11
0
answers

Lighting, Neon Unity 3D

Well, I'm trying for several days to make a generic neon like the image below, but to no avail, can anyone who fiddles with shader help me? I wanted the neon to be on or near the image, where the light emits the light down, like a shadow...
asked by 06.01.2018 / 04:39
0
answers

Download audio with unity on android

I'm trying to download an audio, in the editor the download works, however after installed the apk in the mobile phone, it downloads the file, so not complete, it saves a 40b file, while the file saved in the editor it's 147kb, I'm using a scrip...
asked by 24.11.2017 / 18:05
0
answers

Same script in several game objects [closed]

I have four on-screen gameobjects (active) each with the same script but renamed to not look exactly the same. My problem is that when I activate via touch one of them the other is who obeys the command. No logical sequence whatsoever. Sim...
asked by 28.03.2017 / 18:38