The object I’m trying to access is called “global”, the script attached to it is called “globals”. Please show me in code how to do this, I’ve tried copy+pasting many other answers I’ve seen on other questions and there’s always an error. Yes I’ve obviously changed the names when I pasted other code, they don’t work.
In Javascript/Unityscript:
var gbls : globals = GameObject.Find("global").GetComponent(globals);
In C#:
globals gbls = GameObject.Find("global").GetComponent<globals>();