// 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);
    }
예제 #2
0
    void Start()
    {
        UtilMgr.ResizeList(mList);
        mFirstLoading = true;
//		mPosGuide = 0f;
        mPreGame          = true;
        mGameRoundCounter = 20;
        mInningCounter    = 0;
        JoinGame();
    }
예제 #3
0
    // 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();
    }
예제 #4
0

        
예제 #5
0
 // Use this for initialization
 void Start()
 {
     UtilMgr.ResizeList(mList);
     mEvent = new GetQuizEvent(new EventDelegate(this, "GotQuiz"));
     NetMgr.GetPreparedQuiz(mEvent);
 }