public void Add(UpdateProp other)
        {
            var otherType = other.Type;

            if (otherType.IsFlagSet(UpdateType.Color))
            {
                type  = type.SetFlags(UpdateType.Color);
                color = other.color;
            }
            if (otherType.IsFlagSet(UpdateType.Position))
            {
                type     = type.SetFlags(UpdateType.Position);
                position = other.position;
            }
            if (otherType.IsFlagSet(UpdateType.Rotation))
            {
                type     = type.SetFlags(UpdateType.Rotation);
                rotation = other.rotation;
            }
            if (otherType.IsFlagSet(UpdateType.Scale))
            {
                type  = type.SetFlags(UpdateType.Scale);
                scale = other.scale;
            }
        }
 public UpdateProp(UpdateProp other)
 {
     id       = other.id;
     type     = other.type;
     color    = other.color;
     position = other.position;
     rotation = other.rotation;
     scale    = other.scale;
 }