SetLoginUi() public method

public SetLoginUi ( ILoginUI loginUi ) : void
loginUi ILoginUI
return void
Beispiel #1
0
 void Start()
 {
     windowWidth  = 500;
     windowHeight = 250;
     windowLeft   = (Screen.width / 2) - windowWidth / 2;
     windowTop    = (Screen.height / 2) - windowHeight / 2;
     loginWindow  = new Rect(windowLeft, windowTop, windowWidth, windowHeight);
     login        = this.gameObject.AddComponent <Login> () as Login;
     login.SetLoginUi(this);
 }
Beispiel #2
0
 void Start()
 {
     windowWidth = 500;
                 windowHeight = 250;
                 windowLeft = (Screen.width / 2) - windowWidth / 2;
                 windowTop = (Screen.height / 2) - windowHeight / 2;
                 loginWindow = new Rect (windowLeft, windowTop, windowWidth, windowHeight);
                 login = this.gameObject.AddComponent<Login> () as Login;
                 login.SetLoginUi (this);
 }