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