Esempio n. 1
0
 void Awake()
 {
     GetComponent <M4uContextRoot>().Context = this;
     m_CarouselRotator = GetComponentInChildren <CarouselRotator>();
     m_CarouselToggler = GetComponentInChildren <CarouselToggler>();
     PartyCount        = 0;
 }
Esempio n. 2
0
 void Awake()
 {
     GetComponent <M4uContextRoot>().Context = this;
     m_CarouselRotator = m_ScrollRect.gameObject.GetComponent <CarouselRotator>();
     m_CarouselToggler = m_ScrollRect.gameObject.GetComponent <CarouselToggler>();
     m_ContentRect     = m_ScrollRect.gameObject.GetComponent <RectTransform>();
 }
Esempio n. 3
0
    void Awake()
    {
        GetComponent <M4uContextRoot>().Context = this;
        m_CanvasSetting   = GetComponentInChildren <CanvasSetting>();
        m_CarouselRotator = GetComponentInChildren <CarouselRotator>();
        m_CarouselToggler = GetComponentInChildren <CarouselToggler>();

        AndroidBackKeyManager.Instance.StackPush(gameObject, OnClickCloseButton);
    }
Esempio n. 4
0
    private bool m_IsRestTabs = false; // 同じページ遷移でタブを作り直すかどうか

    private void Awake()
    {
        GetComponent <M4uContextRoot>().Context = this;
        IsViewLeftArrow  = false;
        IsViewRightArrow = false;

        scrollRect        = GetComponentInChildren <ScrollRect>();
        m_CarouselRotator = scrollRect.GetComponent <CarouselRotator>();
        m_CarouselToggler = scrollRect.GetComponent <CarouselToggler>();
    }