示例#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;
 }
示例#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;
 }