void Awake() { // allowsyou to call the singleton class from anywhere inside any script in current scene where // this script is attach to instance = this; }