private void Awake() { _bottomView = GetComponentInChildren <BottomViewRB>(); _bottomView.OnHalfShowSmooth += HandleHalfShowingShooth; _bottomView.OnHideSmooth += HandleHidingSmooth; _bottomView.OnHalfShow += HandleShowing; _bottomView.OnHide += HandleHiding; }
private void Awake() { _bottomView = GetComponentInParent <BottomViewRB>(); _bottomView.OnExpand += HandleExpand; _bottomView.OnHide += HandleHiding; }