Questions tagged as 'unity3d'

1
answer

Use of delegates in C #

I have the following code, taken from a Unity script to play video: public delegate void VideoEnd(); public VideoEnd OnEnd; Then, when a video ends, the following event is generated: if (OnEnd != null) OnEnd(); What I need, is (not...
asked by 13.03.2017 / 18:13
1
answer

How to rotate an object to the sides without turning or turning 360 degrees?

My problem is that I need an object, if it is my character's arm, the problem is that this as my code, I think it is very broad and I want to place restrictions on it as it does not have a 360 degree turning capacity or that only stay in the fro...
asked by 04.08.2017 / 15:28
0
answers

MissingComponentException

The ball hits the indestructible bar, it bounces well, and in the counter it should remove a digit from the counter, but instead I get this message.    MissingComponentException: There is no 'TextMesh' attached to the   "object" game object,...
asked by 25.11.2018 / 13:32
1
answer

Instance Objects Unity 5 C # Photon Networking Unity

I have a problem. I want to instantiate 2 objects but to instantiate it with the same object, and what I want is to instantiate the first object and after some way say that if the first object was instanced the second instancie instead of return...
asked by 15.11.2018 / 12:49
0
answers

unity: HTTP PUT problems

I'm new to unity but I managed to do the http get, post, delete methods. My problem occurs in the PUT, I get the call right to the server, however it does not do anything, and changes everything to null, I suppose it is an error in the variable...
asked by 25.12.2017 / 17:10
1
answer

Error CS1061 'Mesh' does not contain a definition for 'GetTriangleStrip'

Hello, when I update my Unity 3.4 code to Unity 5.3, it shows me the following error:    Error CS1061 'Mesh' does not contain a definition for 'GetTriangleStrip' and       no extension method 'GetTriangleStrip' accepting a first argument of t...
asked by 03.01.2016 / 01:48
1
answer

Android - Unity3D 5: CommandInvokationFailure: Failed to re-package resources [closed]

At the moment of giving the build button in unity3d 5, the normal process begins, and in the middle it throws the error. This is what the console says:    CommandInvokationFailure: Failed to re-package resources.   C: \ Users \ Walther \ AppD...
asked by 14.06.2016 / 06:25
0
answers

Uncaught exception: incorrect header check

I'm trying to export a simple model, with a floor plan and a first person controller to the platform webgl using the engine unity3d but I get the following error: When I open the console I observe the following: Decompresse...
asked by 07.01.2016 / 17:57
1
answer

Timer countdown C #

Hi, I'm doing a game in Unity which must have a chronometer that starts at 60, when it reaches 30 it should change the color of the letters to red and when it reaches 0 it should start to increase and not go to negative until now I have the init...
asked by 02.08.2016 / 16:06
2
answers

Use of js and c # in unity. Equal performance?

I'm starting with unity. And I see that you can use c # and js to program. My question is whether both c # and js would have the same performance. And if js can do all the functions that c # can do.     
asked by 25.08.2016 / 22:04