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.
I'm making a 2D game and I want to create sun shafts. I was thinking of using the sunshafts script built into unity but i would like sun shafts to...
your metaphor is surprisingly close, the point of the code is to manage roots of a plant that is growing. The roots are user controlled and the...
i did some research into the array. i changed the name of my array variable to addToArr, so after i instantiate it now says...
ok i got it working to the point where it doesn't clone explosively, now it is just the original that keeps cloning...it is weird, i have it coded...
That didn't fix anything. I'm convinced it has something to do with the array, because i have a similar script doing instantiation and it works...
yes im creating a new script attached to the new object, however the instantiateImg script should be off when the new object is created.
made shouldn't become false again, because if it does then the if statement would run again the next time sqrPD is 9 or greater, i want it to only...
function Update () { //Scale and rotation management rot = Vector3.Angle(currentLocator.transform.position, controlVector); if...
I have this instantiate code stuck in a loop. I am putting the new object into an array for later management. I'm not very good with arrays and I...
I figured out the problem, I should not be using the locator variable from the other script. I simply assign the current and last locators, then...
I receive the same error.
Like Debug.Log(GetComponent(currentLocator.RootHandler.locator); ?
I have a script on a game object that needs to scale and rotate based on information from another script. I have set up all my necessary variables...
I am making a game with weather control. I want the user to be able to swipe (with mouse or finger) in a direction and for a weather pattern to...
Thank you! I am still having trouble understanding when I'm supposed to do what in terms of syntax aha. Thanks again!
this gets the component from the same gameObject, whereas i want a component from a different gameObject. should it be lastRoot.Transform on line 15?
I am trying to assign a gameOBject during the start function of my script to a Transform variable. Here is the code involved: //movement...
Yes it is getting called repeatedly. And yes the script is on the object (which is a prefab)
K weird thing just happened. Firs tof all, thanks again for the solution. It worked. Secondly, I wrote my instantiatePoint function to run once in...
Thanks very much! I'll try the other one first! I knew I was close to the solution aha.