void Awake() { lbCount = transform.Find("Count").GetComponent <UILabel>(); twScale = GetComponent <TweenScale> (); sn = gameObject.AddComponent <RcScrollInt>(); sn.Init(lbCount, "{0}", UpdateVFX); }
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); }