// We start working from here void Start() { Application.runInBackground = true; // Let the application be running while the window is not active. Debug.Log("GameScreen starting"); GameObject gObj = GameObject.Find("NetworkController"); controller = (NetworkController)gObj.GetComponent<NetworkController>(); controller.doGetRank(); }