Performance when having Update functions in many gameObjects ?

Is it bad for performance to have Update functions in many gameObjects or should I make one script with Update that loops trough those gameObjects and pass variables to them if needed? And if there is a performance problem difference, how significant it is? If I have circa 50 gameObjects, does it any make difference between those methods.

I have done some coding with AS3 earlier and it was bad to have lot of enterFrame funcitions in different movieClips ( flash equivalent to gameObject and Update).

No that’s no biggie, just make sure to disable objects and components that isn’t needed. Some parts of the logic maybe could live inside an invoked repeated function if it’s distance checking and such tasks.

Just to give you an idea we have about 50 rigidbodies within a scene with Update- and FixedUpdate-function, animation scripts running alongside and distance checking invoked running on iPhone 3GS devices. Unity is greatly optimized from the beginning, you just have to think about the target limitations.