예제 #1
0
    void Awake()
    {
        lbCount = transform.Find("Count").GetComponent <UILabel>();
        twScale = GetComponent <TweenScale> ();

        sn = gameObject.AddComponent <RcScrollInt>();
        sn.Init(lbCount, "{0}", UpdateVFX);
    }
예제 #2
0
    protected override void Awake()
    {
        base.Awake();

        SetMoveDirection(EMoveDir.Top);
        moveDelay = 0.1f;

        lbCount = transform.Find("Count").GetComponent <UILabel>();
        twScale = GetComponent <TweenScale> ();

        sn = gameObject.AddComponent <RcScrollInt>();
        sn.Init(lbCount, "{0}", UpdateVFX);
    }