|
pleas help me - don't know how to write this code in C# var follow :GameObject; function LateUpdate () {
(comments are locked)
|
|
// sorry about the formatting, the 1010101 button isn't working... GameObject follow; // not assigned, will always be null void LateUpdate() { Camera cam = gameObject.GetComponent() as Camera; } finally it works - thank you, this helped alot
Sep 21 '11 at 04:19 PM
arashi2
(comments are locked)
|

If you don't know how... why do you want to write it in C#?
Because C# is basically a better language, and @arashi2 is doing a bit of self-improvement!
Bah. At this point the differences are negligible at best.