FairyGUI.GearXY.UpdateFromRelations C# (CSharp) Method

UpdateFromRelations() public method

public UpdateFromRelations ( float dx, float dy ) : void
dx float
dy float
return void
        public override void UpdateFromRelations(float dx, float dy)
        {
            if (_controller != null && _storage != null)
            {
                foreach (GearXYValue gv in _storage.Values)
                {
                    gv.x += dx;
                    gv.y += dy;
                }
                _default.x += dx;
                _default.y += dy;

                UpdateState();
            }
        }