void Start() { if (Application.platform == RuntimePlatform.IPhonePlayer && s_IsFirstEnterGame) { Debug.Log("initialize!"); Bonjour.SetAutoRotation(false); Bonjour.SetScreenOrientation(3); //Bonjour.ShowToolBar(); Bonjour.InitializeNdPlatform(NdCenter.Instace.AppID, NdCenter.Instace.AppKey); if (NdCenter.Instace.IsDebug) { Bonjour.DebugMode(); } } else if (!s_IsFirstEnterGame) { this.m_IsLogin = true; //this.Initialize(); } else { s_IsFirstEnterGame = false; Application.LoadLevel(ClientStringConstants.INITIAL_SCENE_LEVEL_NAME); } }