示例#1
0
 public static Player GetInstance()
 {
     if (instance == null) {
         instance = new Player();
     }
     return instance;
 }
示例#2
0
 public Player()
 {
     instance = this;
 }