private void Start()
 {
     MyInfoManager.Instance.DeResultEvent();
     deltaTime   = 0f;
     guiStep     = 0;
     isMessenger = false;
     bChatView   = false;
     GlobalVars.Instance.ApplyAudioSource();
     BrickManager.Instance.MakeSystemMapInstance(BrickManager.SYSTEM_MAP.WAITING);
     lobbyTools.Start();
     briefingPanel.Start();
     lobbyChat.Start();
     lobbyChat.SetChatStyle(LOBBYCHAT_STYLE.MIDDLE);
     mirror.Start();
     equipmentFrm.Start();
     shopFrm.Start();
     ctfConfig.Start();
     messenger.Start();
     channelLabel.Start();
     BrickManManager.Instance.OnStart();
     playerListFrm.Start();
     mirror.MirrorType = MIRROR_TYPE.SIMPLE;
     if (RoomManager.Instance.Master == MyInfoManager.Instance.Seq)
     {
         CSNetManager.Instance.Sock.SendCS_RESUME_ROOM_REQ(0);
     }
 }
Пример #2
0
 private void Start()
 {
     deltaTime = 0f;
     squadList.Start();
     clanMemberList.Start();
     lobbyChat.Start();
     lobbyChat.SetChatStyle(LOBBYCHAT_STYLE.CLANMATCH);
     squadingTool.Start(squadList);
 }
Пример #3
0
    private void Start()
    {
        MyInfoManager.Instance.DeResultEvent();
        deltaTime         = 0f;
        guiStep           = 0;
        isMessenger       = false;
        bChatView         = true;
        clanMatchBackStep = 0;
        GlobalVars.Instance.ApplyAudioSource();
        BrickManager.Instance.MakeSystemMapInstance(BrickManager.SYSTEM_MAP.WAITING);
        briefingPanelIndividual.Start();
        briefingPanelDefense.Start();
        briefingPanel.Start();
        lobbyChat.Start();
        lobbyChat.SetChatStyle(LOBBYCHAT_STYLE.LOW);
        mirror.Start();
        equipmentFrm.Start();
        shopFrm.Start();
        messenger.Start();
        channelLabel.Start();
        bndConfig.Start();
        ctfConfig.Start();
        dmConfig.Start();
        bmConfig.Start();
        imConfig.Start();
        tmConfig.Start();
        bgConfig.Start();
        BrickManManager.Instance.OnStart();
        playerListFrmIndividual.Start();
        playerListFrmDefense.Start();
        playerListFrm.Start();
        playerListFrmBungee.Start();
        mirror.MirrorType = MIRROR_TYPE.SIMPLE;
        if (RoomManager.Instance.Master == MyInfoManager.Instance.Seq)
        {
            CSNetManager.Instance.Sock.SendCS_RESUME_ROOM_REQ(0);
        }
        GameObject gameObject = GameObject.Find("TeamFlag");

        if (null != gameObject)
        {
            if (RoomManager.Instance.IsKindOfIndividual)
            {
                SkinnedMeshRenderer[] componentsInChildren = gameObject.GetComponentsInChildren <SkinnedMeshRenderer>();
                foreach (SkinnedMeshRenderer skinnedMeshRenderer in componentsInChildren)
                {
                    skinnedMeshRenderer.enabled = false;
                }
            }
            else
            {
                SkinnedMeshRenderer[] componentsInChildren2 = gameObject.GetComponentsInChildren <SkinnedMeshRenderer>();
                foreach (SkinnedMeshRenderer skinnedMeshRenderer2 in componentsInChildren2)
                {
                    skinnedMeshRenderer2.enabled = true;
                }
            }
        }
        DialogManager.Instance.CloseAll();
        Object.Instantiate((Object)VersionTextureManager.Instance.seasonTexture.objPreviewBg);
    }