Quantcast
Channel: Answers by "Elit3d"
Browsing all 20 articles
Browse latest View live

Answer by Elit3d

Awesome thanks! Helped a lot

View Article



Answer by Elit3d

Time.timeScale = 0 should work. Can you show us a bit of the code so we can look more into the problem?

View Article

Answer by Elit3d

Event Trigger is for the new Unity UI. You can just write a script and put it in the player object. You want to call the function OnMouseDown() then the code you want to fire what ever it is you want...

View Article

Answer by Elit3d

Throwing mass of ads at people is very bad when it comes to game development. Personally I wont play a game that does that and I also hate games that I have to pay to remove them. Honestly you should...

View Article

Answer by Elit3d

I actually got it working for good now. Many thanks for the help. I fixed by creating a parent and having that enabled (the parent is blank so it wont show anything)

View Article


Answer by Elit3d

try to test the particles outside of the if (Input.GetButtonDown("Move")) if still no, try what @mmmpies suggested and use stop() instead of pause()

View Article

Answer by Elit3d

oh I know what it was, the problem was because I was trying to open the pause menu from the script like this: if (Application.loadedLevel != 0) { GameObject.Find("pause").SetActive(true); } not really...

View Article

Answer by Elit3d

You can sort of do this an easier way (unfortunately no onClick event) but a few others by going Inspector > Add Component > Event > Event Trigger > Add New Event Type

View Article


Answer by Elit3d

If you want the button to do something in the new UI you can do something like this: using UnityEngine; using UnityEngine.UI; using System.Collections; public class className: MonoBehaviour { public...

View Article


Answer by Elit3d

If you are using 4.6 unity it is much easier to do it like this: using UnityEngine; using UnityEngine.UI; using System.Collections; public class ShowScore : MonoBehaviour { static int highScore = 0;...

View Article

Answer by Elit3d

Awesome thanks! Helped a lot

View Article

Answer by Elit3d

Time.timeScale = 0 should work. Can you show us a bit of the code so we can look more into the problem?

View Article

Answer by Elit3d

Event Trigger is for the new Unity UI. You can just write a script and put it in the player object. You want to call the function OnMouseDown() then the code you want to fire what ever it is you want...

View Article


Answer by Elit3d

Throwing mass of ads at people is very bad when it comes to game development. Personally I wont play a game that does that and I also hate games that I have to pay to remove them. Honestly you should...

View Article

Answer by Elit3d

I actually got it working for good now. Many thanks for the help. I fixed by creating a parent and having that enabled (the parent is blank so it wont show anything)

View Article


Answer by Elit3d

try to test the particles outside of the if (Input.GetButtonDown("Move")) if still no, try what @mmmpies suggested and use stop() instead of pause()

View Article

Answer by Elit3d

oh I know what it was, the problem was because I was trying to open the pause menu from the script like this: if (Application.loadedLevel != 0) { GameObject.Find("pause").SetActive(true); } not really...

View Article


Answer by Elit3d

You can sort of do this an easier way (unfortunately no onClick event) but a few others by going Inspector > Add Component > Event > Event Trigger > Add New Event Type

View Article

Answer by Elit3d

If you want the button to do something in the new UI you can do something like this: using UnityEngine; using UnityEngine.UI; using System.Collections; public class className: MonoBehaviour { public...

View Article

Answer by Elit3d

If you are using 4.6 unity it is much easier to do it like this: using UnityEngine; using UnityEngine.UI; using System.Collections; public class ShowScore : MonoBehaviour { static int highScore = 0;...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images