If I call a function that is on script A, and I am calling it on script B. Then will object A or object B be effected. Basically I am trying to run a function from my script that is attatched to another object whenever something happens in script B. Will it effect the object I want it to (the object with the script with the function attatched to it, or object A in this case) or will it be applied to the object with the script from which I am calling the function.
If it is confusing then let me know! I can elaborate.