Okay so I have my player gameObject, On it is a script with a ton of useful functions for the player, But I want to make it so for example I can call the function setHealth(100) without having a reference, Is this possible or do i always need a reference?
(JS)