- Home /
Is there a way of seeing which script accessing each other?
I've got a feeling that one of my scripts is modifying variables or using functions in another script; I now want to stop that but I'm afraid I might have lost track and am trying to figure out if there's a good way of searching for lines used in other scripts. I've got one way of doing it, but it would be nice to know if there are easier ways.
I guess the easiest way to debug this is change the variable you are having problems with to private.
The editor should tell you where you are acessing it with errors.
Answer by OtsegoDoom · Apr 29, 2015 at 07:51 PM
In MonoDevelop, if you select a variable or function name you can hit Shift + F12 to show a lost of scripts that reference it as well as what line number the reference is on.
Your answer
Follow this Question
Related Questions
Is constantly referencing or defining once then changing better 1 Answer
How can i access all the objects with whom my script is attached to ??? 1 Answer
How Do I Access and Change Items in a List on Another Script? 2 Answers
Can anyone tell how can i add 2 seconds to my TIMER from another script ? 2 Answers
Can't access script through collision. 2 Answers