Im starting to dig into C# more than JS. Just so Im clear do I have to actually using GameObject.Find() for C#? or does variable = gameObject.GetComponenet
asked Apr 12 '12 at 03:14 AM
GetComponent<> gets scripts on the same object.
If the script is on a different object, either make a variable of the script type and drag the GameObject containing that script onto it in the editor, or use GameObject.Find(). Find is slower, prefer the other options first whenever possible.
answered Apr 12 '12 at 03:17 AM