Ejemplo n.º 1
0
        public SelfDZArea(SceneDZData sceneDZData, EnDZPlayer playerSide)
            : base(sceneDZData, playerSide)
        {
            m_outSceneCardList = new SelfOutSceneCardList(m_sceneDZData, m_playerSide);
            m_inSceneCardList = new SelfInSceneCardList(m_sceneDZData, m_playerSide);

            m_outSceneCardList.centerPos = m_sceneDZData.m_placeHolderGo.m_cardCenterGOArr[(int)m_playerSide, (int)CardArea.CARDCELLTYPE_COMMON].transform;
            m_outSceneCardList.radius = m_sceneDZData.m_placeHolderGo.m_cardCommonAreaWidthArr[(int)m_playerSide];

            m_inSceneCardList.centerPos = m_sceneDZData.m_placeHolderGo.m_cardCenterGOArr[(int)m_playerSide, (int)CardArea.CARDCELLTYPE_HAND].transform;
            m_inSceneCardList.radius = m_sceneDZData.m_placeHolderGo.m_cardHandAreaWidthArr[(int)m_playerSide];
        }
Ejemplo n.º 2
0
        public SelfDZArea(SceneDZData sceneDZData, EnDZPlayer playerSide)
            : base(sceneDZData, playerSide)
        {
            m_outSceneCardList = new SelfOutSceneCardList(m_sceneDZData, m_playerSide);
            m_inSceneCardList  = new SelfInSceneCardList(m_sceneDZData, m_playerSide);

            m_outSceneCardList.centerPos = m_sceneDZData.m_placeHolderGo.m_cardCenterGOArr[(int)m_playerSide, (int)CardArea.CARDCELLTYPE_COMMON].transform;
            m_outSceneCardList.radius    = m_sceneDZData.m_placeHolderGo.m_cardCommonAreaWidthArr[(int)m_playerSide];

            m_inSceneCardList.centerPos = m_sceneDZData.m_placeHolderGo.m_cardCenterGOArr[(int)m_playerSide, (int)CardArea.CARDCELLTYPE_HAND].transform;
            m_inSceneCardList.radius    = m_sceneDZData.m_placeHolderGo.m_cardHandAreaWidthArr[(int)m_playerSide];
        }