What are direct methods for proving that a ring is a UFD in general without proving that it's a PID/Euclidean domain/field and using the fact that all those things are UFDs?
As an example, we can take $\mathbb{Z}[i]$ or $\mathbb{Z}[\sqrt{-2}]$ or other rings you come up with.
This would be extremely wasteful, and nobody would do it before showing they were Euclidean domains or PIDs, but you could show that they have class number 1 through some indirect means. $\mathbb Z[i]$ is a Dedekind domain so it is a UFD if and only if its class number is 1.