Questions tagged as 'unity3d'

2
answers

Protect Class for C # namespace

I'm developing a C # application for Unity 3D where it will manage various database types (Mysql, Postgress ...), the problem is that I have classes that manipulate each type of database within my namespace, which are used by several other classe...
asked by 30.05.2016 / 23:15
1
answer

Sprite cut diagonally in Unity 5

I created a game on Unity 5 (directly for Android) (following the following tutorial ) but when I run it on Android the Sprites are cut diagonally like the picture below:   OBS:TestingintheUnity5environmenttakesplaceperfectlywithouterror.  ...
asked by 06.01.2016 / 21:21
1
answer

Deviating from an obstacle without NavMeshAgent

I need to create an obstacle bypass script but I can not use NavMeshAgent to do this because this project relies on implementations where NavMeshAgent does not work. Notice that in the image below there are two cubes and one obstacle, the...
asked by 07.04.2016 / 19:14
1
answer

Error CS1526 & CS8032 [closed]

By the translation of the error says that I have to put a ")" at the end of the "type" but already  there is a ")" at the end of the "type" already tried to change to "[]" but it did not work I tried to put 2 ")" as I saw in other codes but also...
asked by 11.04.2016 / 23:27
1
answer

How do I change the text in unity3d with a script that I can not remove?

I have a problem with unity3d and I do not know how to solve it. I have a certain script using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using UnityEngine.UI; public class CharacterSelector : MonoBeha...
asked by 06.10.2016 / 15:49
1
answer

Unity 5 Delay in animation

I just created the animation to run and jump with unity, but I have a problem when the player returns to IdlePlayer's initial state, when I stop running or jump it continues for another 1 second, I've already tried decrease the frames but nothin...
asked by 15.06.2015 / 22:48
2
answers

Unity: character walks sideways rather than head-on

Hi, I have a question on Unity3D 5! My character, instead of moving forward, with WASD, he moves sideways. My script: using UnityEngine; public class PlayerController : MonoBehaviour { void Update() { var x = Input.GetAxis(...
asked by 04.10.2018 / 19:05
1
answer

It is possible to take Unity advertisement when starting games

I would like to know if it is possible and how do I remove the Unity advertisement screen when I start the games.     
asked by 09.10.2015 / 14:21
2
answers

What is the command to close or exit the game created in Unity?

I'm learning Unity and would like to know the command to quit the game, ie close the application and also knowing this command as I apply when pressing the back button of the mobile Android execute this command.     
asked by 30.12.2015 / 18:35
1
answer

For Rotation on Axis Z

I'm new to the C # code and I'm doing a basic Z-axis rotation in Unity 3d, but I'm having a problem to stop rotating. The initial code is this: using UnityEngine; using Sysstem.Collections; public class voa : MonoBehaviour{ int vel = 150; /...
asked by 30.10.2015 / 10:55