Esempio n. 1
0
    public void RectResize(int childCount)
    {
        int numToResize = Mathf.Min(maxChildrenOnScreen, childCount);

        targetHeight = heightPerChild * numToResize;
        gTween.Reset();
    }
 private void OnEnable()
 {
     gTween.Reset();
 }