IEnumerator Start() { BuildType = buildType; Debug.Log("BS_LogoViewer Start() : " + BuildType.ToString()); switch (buildType) { case BUILDTYPE.DEFAULT: //UXLib.UXConnectController.ROOM_SERVER_PORT = 4000; //UXLib.UXConnectController.REST_SERVER_PORT = 3000; break; case BUILDTYPE.MHT: case BUILDTYPE.TOGIC: case BUILDTYPE.TAIWAN: //UXLib.UXConnectController.ROOM_SERVER_PORT = 4000; //UXLib.UXConnectController.REST_SERVER_PORT = 3000; break; } switch (buildType) { case BUILDTYPE.DEFAULT: // gamePartyLogo.SetActive(true); break; case BUILDTYPE.MHT: //modanLogo.SetActive(true); break; case BUILDTYPE.TOGIC: //gamePartyLogo.SetActive(true); break; case BUILDTYPE.TAIWAN: //gamePartyLogo.SetActive(true); break; } yield return(new WaitForSeconds(3.0f)); Application.LoadLevel(moveSceneName); GameObject.Destroy(this); yield return(null); }
/// ----------------------------------------------------------------------------------------- /// <summary> /// 初始化节点的数据信息 /// </summary> /// ---------------------------------------------------------------------------------------- public void Awake(int _index, BUILDTYPE etype) { m_index = _index; m_parent = null; m_build = etype; }