public void Close(GameObject toTween, Feed_Filter tweeningFilter) { tweeningFilter.scrollView.GetComponent <TweenAlpha>().PlayReverse(); tweeningFilter.tweenAllBlocksBackward(); //tween to base tweeningFilter.isOpen = false; }
public void Close(GameObject toTween, Feed_Filter tweeningFilter) { tweeningFilter.scrollView.GetComponent <TweenAlpha>().PlayReverse(); tweeningFilter.tweenAllBlocksBackward(); //tween to base tweeningFilter.isOpen = false; TweenPos(toTween, tweeningFilter.baseYPos, toTween.transform.localPosition); }