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
En esta página del sitio puede ver el video en línea Unity C# - How to interact between scripts de Duración hora minuto segunda en buena calidad , que subió el usuario Danndx 30 julio 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 81,435 veces y le gustó 1.2 mil a los espectadores. Disfruta viendo!