protected override void OnValidate()
        {
            base.OnValidate();

            _collectionGrouper = GetComponent <CollectionGrouper>();
        }
示例#2
0
 protected override void OnValidate()
 {
     _scrollRectComponent = GetComponent <ScrollRect>() ?? _scrollRectComponent;
     _collectionGrouper   = GetComponentInChildren <CollectionGrouper>() ?? _collectionGrouper;
 }