protected override void Awake()
{
base.Awake();
directionSign = -1;
GridLayoutGroup layout = content.GetComponent<GridLayoutGroup>();
if (layout != null && layout.constraint != GridLayoutGroup.Constraint.FixedColumnCount)
{
Debug.LogError("[LoopHorizontalScrollRect] unsupported GridLayoutGroup constraint");
}
}