A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
[deleted]
Looks good :)
This looks really good man , keep up the good work :)
Okay after trying this out, my thoughts are - There is too much vibration preventing me from concentrating on the race itself. The idea of...
Did you call RollDice() in your script? I dont see it and if you didn't, nothing will happen.
You are missing a close bracket on your physics raycast line.
Maybe add this? It checks if score is lower than 0 after subtracting and set it to 0 if it is. currentscore-=10; if(currentscore<0){...
Did you set the value of the variable ss (SliderScript) in the inspector?
Hmmm, apparently using an instance of the SliderScript in AppleCollect allows us to use public voids Be sure to set the sliderscript in the...
Oh yeah i've forgotten about the variables. It should work fine now.
Try making it static? :) public static void AddPoints() { scored = true; currentscore += 1; appleslider.value =...
I think you meant how to utilise a function found in script A and use it in script B because your explanation stated otherwise. In Script A, you...
How bout this? Modulus is like division but it gives you the remainder instead. 6 / 2 = 3 6 % 2 = 0 (Remainder) So in your context, multiples...
An example using a transform would be like: No Smoothing: // x, y, z transform.rotation = Quaternion.Euler(0,0,0); Smoothing:...
Can you post your script and some screenshots of your unity editor? We can help you from there.
Check the documentation: http://docs.unity3d.com/ScriptReference/Animation.IsPlaying.html