// Use this for initialization void Start() { //Debug.Log ("Screen.height : " + (float)Screen.width/(float)Screen.height); this.transform.localPosition += new Vector3(0, UtilMgr.GetScaledPositionY(), 0); UtilMgr.ResizeList(gameObject); }
void Start() { UtilMgr.ResizeList(mList); mFirstLoading = true; // mPosGuide = 0f; mPreGame = true; mGameRoundCounter = 20; mInningCounter = 0; JoinGame(); }
// Use this for initialization void Start() { mContainerBtns = transform.FindChild("ContainerBtns"); mContainerBtns.localPosition = new Vector3(0, UtilMgr.GetScaledPositionY() * 2f, 0); UtilMgr.ResizeList(transform.FindChild("ListTimeline").gameObject); transform.FindChild("ListTimeline").GetComponent <UIScrollView> ().ResetPosition(); // Vector3 offset = transform.FindChild ("ListTimeline").localPosition; // offset.y += UtilMgr.GetScaledPositionY () ; // transform.FindChild ("ListTimeline").localPosition = new Vector3 (0, offset.y, 0); // transform.FindChild ("ListTimeline").GetComponent<UIPanel> ().baseClipRegion = new Vector4 (0, 0, 720f, 690f - UtilMgr.GetScaledPositionY ()*2); CloseMenu(); }
// Use this for initialization void Start() { UtilMgr.ResizeList(mList); mEvent = new GetQuizEvent(new EventDelegate(this, "GotQuiz")); NetMgr.GetPreparedQuiz(mEvent); }