Most voted "unity3d" questions
Unity 3D or Unity is a proprietary 3D game engine and an IDE created by Unity Technologies.
Learn more…292 questions
Sort by count of
-
2
votes1
answer667
viewsActivate an object and disable others
I’m making a car shop system in the Unity engine, and I need a method to activate a type of contour in the selected car. However, I need the contour of the other cars to deactivate automatically.…
-
2
votes1
answer298
viewsUnity Store System
Hello. I need a way to create a car shop in a Unity game. I started to create the store, but I can’t find a way to show the car purchased in another scene, ie the game know that you bought that car.…
-
2
votes2
answers896
viewsHow to make the questions random without repeating and run a specific number of questions?
I wanted to make the questions were random but not repeated running the 6 questions that make up each theme of my QUIZ-style game, if they know an easy method for my problem. I tried several…
-
2
votes0
answers47
viewsHow to use class A functions in class B and vice versa?
Hello, I’m trying to make a game but I found a problem where I can’t solve, maybe the answer is really stupid, but since I’m kind of busy, I can’t find it at all. This is my first class or Script,…
-
2
votes1
answer442
viewsC# - How to make an orbital camera around the player?
I’m trying to make a Storyteller game, and I want to make a camera similar to the one in the game Life Is Strange, but the camera only rotates along the X axis. using UnityEngine; using…
-
1
votes1
answer749
viewsWhat I create in Blender, can I sell?
What I create in Blender, can I sell or use without worrying about licenses? (example creates models, animations, videos and use in Unity 3D)
-
1
votes1
answer227
viewsBest score with playerprefs Unity-android
Hello. I made a normal best score system in Unity (when score>playerprefs, will set the text of textmesh). On the computer worked, only when I pass to Android the bestscore is 0 Someone would…
-
1
votes1
answer962
viewsUnity 3D - Cinematographic scenes (cutscenes)
I am studying Unity3d for a little while, and I would like to know the best way to make "cinematic scenes" (cutscenes)... For example, in RPG Maker it could create events in such a position, which…
-
1
votes1
answer458
viewsHow can I be solving these Errors in Unity 5 and adding these components?
using UnityEngine; using System.Collections; public class RandomParticlePoint : MonoBehaviour { [Range(0f, 1f)] public float normalizedTime; void OnValidate() {…
-
1
votes1
answer154
viewsBuild error "A new Expression requires() or [] after type"
I’m creating a video game based on a youtube... And in this video there is a link to the site with the codes, I copied the codes and pasted it exactly as it was to later modify and do my way... But…
unity3dasked 9 years, 9 months ago Flávio Ricardo 33 -
1
votes0
answers341
viewsUnity 5: How to make the game go back exactly where it had ended in its last run?
Example: the guy was playing and in the middle of the stage he closed the game, hence how to make so that when he opens the game again he goes back exactly in the part (or phase) that he had been…
-
1
votes0
answers205
viewsCreate auto-update phase menu in Unity 5?
Example: At the beginning of the game the menu will only have the Level 1 button, once the guy passes the level how to create an automatic button for level 2 in this menu? This button will redirect…
-
1
votes0
answers94
viewsNightmare (Unity) animation error
I followed all the steps, I use the new version of Unity, when I run the game, the animation of walking n works it keeps going without the animation, when you spend a few seconds the animation…
-
1
votes1
answer379
viewsUnity 5 : Animator: I can’t delete.
Good night. I’m developing a game following a video tutorial, in the tutorial only has the Any State, but when I create, in mine appears the Entry and the Exit and I’m not getting to delete them. Is…
unity3dasked 9 years, 6 months ago Ticiano Vasconcelos 113 -
1
votes1
answer690
viewsUnity5 Error: "Player' Animationevent 'Restartlevel' has no receiver! Are you Missing a Component?"
Good night. I’m following a tutorial of a game and when I run it works, but soon hangs and appears this error: "'Player' Animationevent 'Restartlevel' has no receiver! Are you Missing a Component?"…
unity3dasked 9 years, 6 months ago Ticiano Vasconcelos 113 -
1
votes0
answers714
viewsDrawing lines in 2D unity3D mode
I am developing a 2D game and would like to draw the trajectory of the launch of an object. But I’m new to unity3D (the goal of the game is to gain experience on the platform), I know what I need to…
-
1
votes1
answer713
viewsJavascript and Unity 5 : What is the error of the code? (Animations jump and fall)
I am following a tutorial to create an infinite racing game (Temple Run style), the tutorial is old and the classes etc changed in Unity 5, so I could not play the code, it is made to control and…
-
1
votes1
answer144
viewsGenerate List from Binaryformatter Deserialized Unity3d
Hello I am creating a "save" system for games and would like to know how I can generate a list from an object BinaryFormatter? this file is formed from 3 information, and would like to generate a…
-
1
votes1
answer1100
viewsHow can I generate a delay while running an application in Unity?
I am creating an application in Unity and need some function that causes a delay during the execution of the application.
-
1
votes1
answer69
viewsScreen Splitting using Android + Unity
Guys, good afternoon. I have a project where I need to take a view of a particular object at 4 different points and position it in order to look something like this…
-
1
votes0
answers205
viewsProblem Time Render Game (Nightmare) Playing With Nils
I’m using the Unity 3D versão 5.0.2. I’m going in "Build Settings..."to render my game (Nightmare Project). But it seems to me you can’t send your enemies' artificial intelligence. After rendering,…
unity3dasked 9 years, 6 months ago Vinicius Eduardo 11 -
1
votes1
answer198
viewsChar Playermoviment Script Problem in Unity 5
Char Playermoviment Script Problem in Unity 5 Alleged problem on line 70 in "Quaternion" using UnityEngine; using System.Collections; public class PlayerMoviment : MonoBehaviour { //velocidade do…
-
1
votes1
answer427
views"Ontriggerenter2d" function is executed even with "Is Trigger" disabled
I have Gameobject "player" with a box with "Is Trigger" unchecked, IE, is not a Rigger. In the script associated with the player there is the "Ontriggerenter2d": //... void OnTriggerEnter2D…
unity3dasked 9 years ago Filipe Moraes 8,737 -
1
votes1
answer788
viewsMonodevelop from Unity says my variables don’t exist?
I was following the fourth video tutorials of Roguelike scavengers, and I came across these errors when I finished. In the fifth video it fixes some, but these continued, I am using the latest…
-
1
votes1
answer144
viewsIs it a mistake in Unity or does it not interfere with the program?
This error appeared in Unity would like to know what is error and how to solve it There are inconsistent line endings in the 'Assets/Scripts/teste.Cs' script. Some are Mac OS X (UNIX) and some are…
-
1
votes0
answers296
viewsIsn’t Admob running at Unity?
I imported the plugin as per admob’s website , plugin link I used the following code for testing using System; using UnityEngine; using GoogleMobileAds; using GoogleMobileAds.Api; public class…
-
1
votes1
answer818
viewsHow to decrease the apk size generated in Unity?
In the Unity I realized that the apk generated with no texture image script configuration, ie with nothing comes out with a size of 20 MB, because they come out with this size and if it has to…
-
1
votes1
answer348
viewscomplication when opening monodevelop by unit3d personal
I’m trying to develop a game. In Unit 3d I create a new script, both in C#scrip and in javascript and, when editing, it is opened by standard Assets example Projects - microsoft visual studio.…
-
1
votes1
answer175
viewscreate custom mask unity3D
How to create a date mask on the Unity 3D platform, so that when I type, it automatically places the characters "/"? Example: 00/00/0000
-
1
votes1
answer88
viewsUnity 3D-How to make a game available
I made my game and I don’t know how to make it available to other people to play on their Pcs. And I would like to make available on my site for downloads on the «Mega» but I don’t know how to make…
unity3dasked 8 years, 8 months ago Tiago Francisco 13 -
1
votes1
answer424
viewsHow do I limit a character’s motion (Touch) to 3 specific points? Unity C#
I would like to know how to limit the position of a character in the Y axis in the Up, Mid, Down positions. In the game the character runs while obstacles arise and dragging his finger up, if he is…
-
1
votes0
answers136
viewsCollision recognition
I am developing through tutorials the game Unity training day (Nightmares) and I realized that the player did not recognize collisions in objects. When adding the "Capsule Collider" component, the…
unity3dasked 9 years, 4 months ago pedrofarah 33 -
1
votes1
answer260
viewsAdd Prefab by code and not by inspector
Currently my game has only one type of enemy and I want to add other 3 types of enemy. To add a type of enemy I did the following: I created an Empty Object and adding to that object a Collider 2d…
unity3dasked 9 years, 3 months ago Filipe Moraes 8,737 -
1
votes1
answer291
viewsGameobject changes position after play in Unity
I have the following scenario: The other objects were disabled only to demonstrate the problem. I think that disabling them does not influence the game, right? See what happens when you click on…
unity3dasked 9 years, 3 months ago Filipe Moraes 8,737 -
1
votes0
answers103
viewsApply rotation only on X and Z axes
I’m trying to rotate an object only on the X and Z axes, keeping the original value on the Y axis, but this way the rotation just doesn’t work, or gets totally misaligned. RaycastHit hit; if…
-
1
votes0
answers36
viewsSSL error in Facebook sdk integration with Unity project
Error that appears in Unity. I already tried to install Openssl, but still error.…
-
1
votes2
answers152
viewsUnity 5 error apparently code
I was playing this game when this problem came up Assets/Sampleassets/2D/Scripts/Platformer2dusercontrol.Cs(2,25): error CS0234: The type or namespace name CrossPlatformInput' does not exist in the…
-
1
votes2
answers2273
viewsHow to make Sprite sheet exchange at Unity without having to do more animations?
Hello, I’m playing a game where it will be possible to switch characters in Unity. The game will be in 2d, for android and I’m facing problems to make the exchange of characters. I made a functional…
-
1
votes0
answers86
viewsSame script on various gameobjects
I have four gameobjects on the screen (active) each with the same script, but renamed to not look exactly the same. My problem is that when I call via touch one of them the other is who obeys the…
-
1
votes0
answers69
viewsMy Unity 3D project on the LAYERS part does not show the Shootable and Floor option and a few more options
Hello, I formatted my PC and took a backup of the project. I installed Windows 8.1 pro, installed the Unity 3D v 5.2 I put my project there all straight there when I went to give play the project…
-
1
votes3
answers667
viewsProblems, Objects colliding in the wrong way Unity3d
I have a problem that I haven’t been able to find the solution to: I’m trying to finish a project with Unity, a simple 2D racing game, where the camera is static from above and the objects descend…
unity3dasked 9 years ago Jhonny Summer 11 -
1
votes1
answer103
viewsProblem exporting Unity to APK
When I try to "export" to APK I get the following error: Win32exception: Applicationname='C:/sdk-tools tools aapt.exe', Commandline='package --auto-add-overlay -v -f m -J "gen" -M…
-
1
votes0
answers51
viewsVisual Studio does not compile for Windows Phone 8
I’m facing a problem with the Visual Studio 2013 Update 4, when trying to build a project for Windows Phone 8, it presents the following error: The"Compilexaml" task failed…
-
1
votes1
answer152
viewsNullreferenceexception: Object Reference not set to an instance of an Object Motioncontroller.Fixedupdate
I am following this Unity tutorial: http://unity3d.com/pt/learn/tutorials/modules/beginner/2d/2d-controllers This was going great all the way to the part where you test to see if I’m touching the…
-
1
votes1
answer487
viewsQuestions about Script Coroutine c#
I made a script along with the coroutine, but it kind of doesn’t work without error My real intention is to make the button have a delay of up to 10 seconds before transitioning to another song…
-
1
votes1
answer108
viewsAddcomponent() with parameters in Unity3d?
Good morning, everyone! In short, 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 the use of…
-
1
votes0
answers76
viewsHow to adjust dubbing caption in a Beat Em Up in Unity?
Could someone help me how to put a dub (dialogue) inside a scene in a Beat game in Up? My character walks through the game and when he meets Boss he says something, in case I would like to put the…
-
1
votes1
answer126
viewsWhat good is this command?
Hi I’m having a question and I need a C# command that activates and deactivates a layer inside the Imator in Unity 3d. This server command for this? Animator.GetLayerName ("Nadando"); In case I want…
-
1
votes1
answer291
viewsEndlessly map
I’m developing a game and I just found a difficulty somewhat boring, it’s a logic problem... Next: Imagine the scene of the game Where, the black square in which the "Player" is, is the camera view…
-
1
votes1
answer82
viewsNullreferenceexception Unity 3D
I started a course where they teach to create a 2D game using Unity3d, I tried to add things to the game but I am failing miserably and so I decided to try a little help. In this case, I tried to…