private void Awake()
 {
     if (!layout)
     {
         layout = GetComponent <LayoutBase>();
     }
 }
        private void OnValidate()
        {
            if (layout)
            {
                return;
            }

            layout = GetComponent <LayoutBase>();
        }
        private void OnValidate()
        {
            if (!_layout)
            {
                _layout = GetComponent <LayoutBase>();

                return;
            }

            _layout.Align();
        }
 private void Awake()
 {
     _layout = GetComponent <LayoutBase>();
 }
 private void OnDestroy()
 {
     layout = null;
 }