private void Awake()
 {
     instance          = this;
     this.screenWidth  = Screen.get_width();
     this.screenHeight = Screen.get_height();
 }
示例#2
0
 void Awake()
 {
     instance     = this;
     screenWidth  = Screen.width;
     screenHeight = Screen.height;
 }