//-----------------------------------------------------------------------------
    // overridden subclass methods
    //-----------------------------------------------------------------------------

    protected override void CheckSettings()
    {
        Vector2 loc = transform.localScale;

        if (!_size.Equals(_size_) || !_size.Equals(loc))
        {
            meshDirty = true;
        }

        base.CheckSettings();
        if (MarginsChanged() /* || _fillSide != _fillSide_ */)
        {
            meshDirty = true;
            _margins_ = _margins;
            // _fillSide_ = _fillSide;
        }
    }
 protected override void Awake()
 {
     base.Awake();
     _margins_ = _margins;
     // _fillSide_ = _fillSide;
 }
 public bool Equals(OTScale9Margins other)
 {
     return (top==other.top && bottom == other.bottom && left == other.left && right == other.right);
 }
    //-----------------------------------------------------------------------------
    // overridden subclass methods
    //-----------------------------------------------------------------------------
    protected override void CheckSettings()
    {
        Vector2 loc = otTransform.localScale;
        if (!_size.Equals(_size_) || !_size.Equals(loc))
            meshDirty = true;

        base.CheckSettings();
        if (MarginsChanged() /* || _fillSide != _fillSide_ */ )
        {
            meshDirty = true;
            _margins_ = _margins;
            // _fillSide_ = _fillSide;
        }
    }
 public bool Equals(OTScale9Margins other)
 {
     return(top == other.top && bottom == other.bottom && left == other.left && right == other.right);
 }
 protected override void Awake()
 {
     base.Awake();
     _margins_ = _margins;
     // _fillSide_ = _fillSide;
 }