Ejemplo n.º 1
0
        void setPaired(int paired, bool instance = false)
        {
            txtMatches.SetText(string.Format("Paired: {0}", paired));
            int id = txtMatches.GetInstanceID();

            DOTween.Kill(id);
            DOTween.Restart(id);
            if (instance)
            {
                txtMatches.transform
                .DOScale(scaleValue, scaleTime)
                .SetEase(Ease.Linear)
                .SetLoops(2, LoopType.Yoyo)
                .SetId(id);
            }
        }
Ejemplo n.º 2
0
 public override int GetID()
 {
     return(comp.GetInstanceID());
 }