Questions tagged as 'unity3d'

1
answer

Animation to decrease the size of a cube in Unity

Hello! I'm in Unity using C # and I have a cube that when I press 'q', it decreases to 0.5 of scale starting from scale 1 and when I release 'q', it goes back to scale 1. I wanted there to be some quick animation of the decay and growth of the c...
asked by 11.05.2018 / 05:10
0
answers

I can not use JsonConverter on Json.Net with Unity

So I'm developing a visual programming system in FSM , and for serialization, I used Json.Net , so far, okay, it worked correctly, however, I needed to serialize UnityObjects and things got complicated, I wanted serialize only...
asked by 08.05.2018 / 04:00
0
answers

Find objects by a variable value with FindObjectsOfType

The FindObjectsOfType command can find objects by a specific type. I wonder if it can find objects by a variable value. For example: Find objects that have the x variable with a value of 10.     
asked by 04.05.2018 / 15:44
0
answers

Making the NAVmesh agent go to the nearest object

I am currently unable to get the object to go to the nearest object in Unity 3D. The agent goes to all objects and destroys them effectively, but I want him to travel to the nearest object. How can I do this knowing the object is destroyed?    ...
asked by 30.04.2018 / 15:36
0
answers

Jump Method with more than one animation sequence

Friends I'm messing with the leap animation of a character and this animation has two sequences, one of when to walk, another to run: if (Input.GetKeyDown(KeyCode.Space) && liberaPulo == true && Input.GetKey(KeyCode.D)...
asked by 16.04.2018 / 23:39
0
answers

(Unity3D) Error in character animation | Nightmare - Unity Training Day

I'm watching the videos in the playlist ( link ) and I'm having a little problem performing the lesson's procedures # 02 ( link ). I animated the character, wrote the movement code and rotation of it, did everything that is shown in the video...
asked by 17.03.2018 / 21:34
0
answers

Unity with Firebase + Google Authentication How to do

I need help with using Firebase with Google Authentication in the documentation, which is very vague at least for me. Is this code where I get these googleIdToken and googleAcessToken ? I'm not finding anywhere: Firebase.Auth.Credential...
asked by 05.03.2018 / 00:20
1
answer

Unity Store System

Hello. I need a way to create a car shop in a game in Unity. I started to create the store, but I do not find a way to show the car bought in another scene, that is, the game know that you bought that car. using System.Collections; using Syste...
asked by 15.02.2018 / 05:18
0
answers

Array Animation C # Unity

Error in the array of animation, see in the video please that they will understand, at the time of the exchange of an object to another it is completely erased. Video public Animation[] Animation1; private int Selecao8; public void Pr...
asked by 30.01.2018 / 22:30
1
answer

Firebase Auth and Unity

Does anyone have an example or would you know how to verify email authentication within unity using firebase     
asked by 29.01.2018 / 13:37