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.
Thanks, works perfectly
im not talking about specific variables within the component im talking about the whole thing Plus id rather not create a variable for every...
I'm facing a problem where i can't seem to keep the orginal values of components. myComp = otherComp; otherComp.value = 5;...
if x.IndexOf(y) == z.IndexOf(a) ? Not quite sure what you are asking, could you elaborate.
Have you tried using steering behaviours. Look at the seperation, cohesion and alignment bit. Some also implemented it into unity
Awake in playerControl should be m_Bow = GetComponent<Bow>( ); In other words you forgot to initilaze your m_Bow variable in your playerControler
Thank you Kurt, you've solved my problem. It was such a stupid mistake LOL. In my virtual method i wan't returning a value and i foolishly assumed...
A list of vehicles
I think the code pretty much explains itself // Vehicle.cs public virtual void DoKill( ) { if( controller.RequestDestruction(...
um slightly unrelated but the code that you posted above is kinda weird, you're unnecessarily constructing a Vector3, it should be...
Hello All, I'm currently in the early stages if prototyping a simple 2D physics beat-em-up game but have been stuck after what seems like an...
items.ToArray();
Camera.main.gameObject; ..... ? EDIT: might not work in Unity5 , haven't updated yet .. :(
http://docs.unity3d.com/ScriptReference/Vector3.Lerp.html
Hmmm if you wanted something more simple, and this is off the top of my head , try: using UnityEngine; using System.Collections; public class...
http://itween.pixelplacement.com/index.php
you could use polymorphism // NOTE this code isn't tested and may not work MonoBehaviour script = GetComponent<magicuser>(); EDIT: Sorry didn't...
you are missing the namespace inclusion , you HAVE to add using System.Collections.Generic; for Lists to be recognised!
Arrays and Lists have completely different functionality. In most statically typed languages , arrays are a runtime constant and therefore can't...