How would i extend monobehaviour with a function which is called every frame and how would i use this function in all my other objects?
you would write an extended class MonoBehaviourEx, add it there and then make all your classes extend that one and call the function in your update if you need it