Here's a tutorial on how to have one script interact with another in unity, using c#.
The 3 main methods I use are:
Triggering a function in a script, from another script
Querying variables in a script, from another script
Setting new values to a script's variables, from another script
Hope it helps!
Please support my channel if you'd like. It would mean a lot:
https://ko-fi.com/danndx