Questions tagged as 'unity'

0
answers

Pause when jumping from one frame to another in a video

When I jump from one frame to another, the video pauses for half a second. Is there any way to make that not happen? The following code is from Unity3D engine: if (videoPlayer[0].frame >= 400) videoPlayer[0].frame= Otro_frame; }...
asked by 11.03.2018 / 02:51
1
answer

Simple geometry problem with Unity and C # [closed]

I need to detect when a ball crosses a line (raycast + line renderer, for now) that will be between two points (like a soccer goal bow) ... but these points will move around the screen ... How can I detect that? that the ball crossed the line?...
asked by 23.01.2018 / 03:27
0
answers

Unity with mysql

I have problems with Unity and mysql , trying to bring the only table I have in a database on the Square7 server, and what shows when calling what the table has is what they see in the image. : ( This is the php code <?php m_in...
asked by 20.01.2018 / 03:25
0
answers

How can I create a center of gravity in unity?

Hello !, I'm creating a game, And I have a sphere that is in the point (0,0,0), Then I have another sphere next to it, The problem is that I want to make all objects tend to go to the point (0,0,0), Respecting the physics of rigidbodies and othe...
asked by 03.05.2017 / 00:24
2
answers

Background image on canvas

I have a canvas to which I have added a raw image. How can I get a background image from code? I have this code that reads some folders and looks for where the image is. private void LoadBgImage() { string RuteBackground = Applic...
asked by 10.04.2017 / 17:08
1
answer

Can I change the package ID or bundle ID and update my app in the google play store?

I have a question about this topic since I have read on sites that I can not do it and on others that I do. I have a published and active Google Play app, I have changed Admob with my ID, I would like to know if I can also change the package...
asked by 16.05.2017 / 19:18
2
answers

Assign a string as a reference to another string within an object

I am somewhat confused trying to do the following and I hope you can help me. I have a class with a series of strings: public class Ejemplo{ private string nombre; private string id; private string descripcion; ... } What...
asked by 05.05.2018 / 21:05
1
answer

unity very high character jump

I decided to make a little 2d game in unity before the new year, the question is that when I press jump (upArrow) it's like a rocket, it goes flying and I never see it again, but, why it happens this? This is the code: using System.Collection...
asked by 09.12.2018 / 02:24
1
answer

Change PHP STATUS to pick it up from Unity

I have a file in php where I receive data from an application in Unity, all good until after validating the information I need to recover a STATUS . I'm using this way of setting the STATUS in php ; if(count(mysql_...
asked by 02.11.2018 / 17:56
1
answer

Play audio in Unity in scene changes

How can I play an audio in Unity in such a way that when a scene change happens the audio keeps playing without being interrupted?     
asked by 17.10.2018 / 05:36