//キャンバス関連初期化===================================================== private void CanvasRelationInit() { m_Canvas = transform.GetComponentInChildren <Canvas>(); m_SoriteTimer = new TimeSprite(); m_SoriteTimer.Initialize(m_Canvas.transform, "Timer"); m_CountSprite = m_Canvas.transform.FindChild("Counter").GetComponent <NumberSprite>(); m_CountSprite.Initialize(); m_StartSprite = m_Canvas.transform.FindChild("Start").GetComponent <RectTransform>(); m_StartSprite.gameObject.SetActive(false); }
//キャンバス関連初期化===================================================== private void CanvasRelationInit() { m_Canvas = transform.GetComponentInChildren<Canvas>(); m_SoriteTimer = new TimeSprite(); m_SoriteTimer.Initialize(m_Canvas.transform, "Timer"); m_CountSprite = m_Canvas.transform.FindChild("Counter").GetComponent<NumberSprite>(); m_CountSprite.Initialize(); m_StartSprite = m_Canvas.transform.FindChild("Start").GetComponent<RectTransform>(); m_StartSprite.gameObject.SetActive(false); }