To say that "the world agreed" on something based on a General Assembly resolution is an interesting claim, if rather bold.

Is there any other way that the world could officially agree on something?

Yes, if virtually all countries sign a treaty.