Questions tagged as 'unity3d'

1
answer

Joystick in unity

I'm doing a little application in unity, a sphere with two joysticks, the first joystick moves to that sphere and the second one zooms, the problem is that I do not know how to call the second joysctik to write the necessary code, because what I...
asked by 15.06.2018 / 22:31
0
answers

Access components of a scene from another scene

In a game I'm doing, I have two scenes defined: 1.- start : has several panels, to show a basic options menu (run game, configuration, credits, exit). These panels have 50% transparency 2.- game : The game itself. Among other things, it...
asked by 30.05.2018 / 20:06
0
answers

validate existence of class in C # unity3d

I am developing a game, in which one of the characters I have added a script for life control. At the beginning of the game, that character is an NPG. At a certain moment, he must become an enemy or ally (according to the player's choice). Fo...
asked by 27.05.2018 / 04:58
0
answers

How do I make the axes not reversed unity

I have this code to move the player but when the controls are broken they are reversed ie I go forward with "w" to the right with "D" but when I turn to the right if I press W it does not move forward but to the side and control is reversed, I d...
asked by 16.05.2018 / 02:14
0
answers

Unity 2017 move two different objects simultaneously on Android

I'm trying to make a kind of Pong for Android. I have a GameObject for each player, differentiating between them by the Tag they carry. In principle I programmed the controls for OnMouseDown () and OnMouseDrag (), but I realized that in the mobi...
asked by 29.04.2018 / 12:45
1
answer

List of Levels in Unity with C #

In the project where I work (with Unity 2017.3) I must use a single scene for all levels of the game. Each level has its class with its particular implementation, but they all inherit from the Level.cs class. What I need is to store the levels i...
asked by 03.04.2018 / 20:07
1
answer

Problem with collisions of a softbody in unity

I am developing a game where collisions with other objects are very important. I downloaded a prefab from a softbody (like a jelly cube) that has perfect collisions with the ground, a plane, but when moving it against other objects (like walls,...
asked by 23.03.2018 / 14:16
0
answers

How to adjust GameObject to the field of view of the unity camera

How can I scale a unity GameObject to the rectangular size furthest from the camera (field of View)? Thanks     
asked by 15.02.2018 / 12:39
1
answer

how to make two ImageTarget read me the spirte that I have selected

I have the following situation, I am using two identical images, what of different color to read it AR of Vuforia . When creating the database, I defined each one with a pattern, in this case it would be a purple one and the second one pink. Ad...
asked by 29.01.2018 / 21:13
1
answer

How to create a combat message system?

Hello my problem is that I see the need to implement a service of sending and receiving messages between the issuing user and randomly to a receiver that is online Clash Royale style, and then move to the process of creating a Room in Photon and...
asked by 06.01.2018 / 21:31