If X-axiz rotation is above (Value) start particle effect

Sorry this may be a stupid question but:
I have been working on a VR-Chat world for a while now. I have a glass with a liquid shader on it, and i need to add a Udon script so that when the glass tilts either 45 degrees on the X and/or Z axis, the particle effect of water drops will start.

Currently i have the particle emitter set and ready, i just need a script that can detect the gameobjects rotation.

TL:DR
How i make script that detects an objects X and Z rotation value?

As you can see i have been fiddeling with a few idears-

Thanks in advance and Sorry for my bad grammar.
~Pergo