Communicate 2 scripts

Hello guys.
There is a way to communicate between 2 different scripts (2 Resources)?
First script i have like:

int var = 6;

In the second script i wanna read this variable from the FIRST script. How to do? I’m using C#

1 Like

Use events or exports?

Like TriggerEvent?
Can you show one example?


You can also use a convar