Esempio 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;
 }
Esempio 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;
 }