Maybe be Im looking at this wrong, but I cant seem to figure out how to assign a variable to a Texture2D from another script.
Basically, Im taking a snapshot of the screen and saving it to a variable. I want to take that saved picture variable and reference it to another variable from another script. Does anyone know how to make that happen?
You could also set the variable as static, which means there is only one instance of that variable across the whole application, and anything that inherits from the base class will still only have access to that one instance. Depending on how your application is set up, you may not want to do this as it can be dangerous coding unless you specifically set it up to be that way.