void Awake() { GetComponent <M4uContextRoot>().Context = this; m_CarouselRotator = GetComponentInChildren <CarouselRotator>(); m_CarouselToggler = GetComponentInChildren <CarouselToggler>(); PartyCount = 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>(); }
void Awake() { GetComponent <M4uContextRoot>().Context = this; m_CanvasSetting = GetComponentInChildren <CanvasSetting>(); m_CarouselRotator = GetComponentInChildren <CarouselRotator>(); m_CarouselToggler = GetComponentInChildren <CarouselToggler>(); AndroidBackKeyManager.Instance.StackPush(gameObject, OnClickCloseButton); }
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>(); }