I have already posted this on unity answers but could not get a proper solution.
Is update method of every script is called every time even if it is not overrided?
What is the best way to use one update for all other scripts having different funtionality so that only one update method will be called in the game?
http://answers.unity3d.com/questions/830148/unity-scripting-update-method-workflow.html
The Update() function of every script is called every frame. If you want to manage how “update” is called, perhaps have a single script that has an Update() function, and rename every other Update something like Reloaded23sUpdate(). Then the real Update() function can decide which Reloaded23sUpdate() to call in each script.
What I would say is that I’d be surprised if the call into each Update() is going to appear on your profiling.
Thanks for the info Graham.
Now suppose I have two scripts
Script A contains Update()
Script B contains UpdateB().
Now if i call UpdateB in Update() of script A, Update() of script B will still be called?
Update() is called on every script. If you don’t want Update() to be called, then rename it to something else. So, your script A’s Update() will be called, and you can call UpdateB(). But, if script B also has an Update() then that will be called by the Unity runtime.
Update() is not an overrided method written in the base class?
If a script is dervied with monobehaviour and Awake(), Start() & Update() are not written in the script that means these functions are not called at all.