예제 #1
0
        private void InitPattern(eScrollPattern patternType)
        {
            switch (patternType)
            {
            case eScrollPattern.VerticalDown:
            {
                m_pattern = new ScrollDownPattern();
            }
            break;

            case eScrollPattern.VerticalUp:
            {
                m_pattern = new ScrollUpPattern();
            }
            break;

            case eScrollPattern.Horizontal:
            {
                m_pattern = new ScrollLeftPattern();
            }
            break;
            }
        }
예제 #2
0
 private void InitPattern()
 {
     m_pattern = new ScrollGridPattern();
 }