Hello.
We know that it is recommended to use the method below in the start() function instead of using directly the “transform” attribute in the update() function, because it reduces the time complexity:
myTransform=transform;
But what about the GetComponent<…>(); method?
Assuming we have a component, called “Component One”, and assume that we have another component called “Component Two”, I write the method below in the start function of the “Component ONE”:
A_Component=GetComponent<ComponentOne>();
Will Component Two always get the updated properties of the ComponentOne? even it is called in the start() function and not in Update() function?