How to get 0-360 degree from two points

Is there a function that will return degrees (0-360) from one point (x = 0, z = 0) to another point
(-x = 3, -z = 5)

Edited to add exact code snippet that worked for me.

GameObject target = GameObject.Find("Name Of Game Object In Hierarchy");

float MyPositionX = transform.position.x;
float MyPositionZ = transform.position.z;
float TargetPositionX = target.transform.position.x;
float TargetPositionZ = target.transform.position.z;

degree = FindDegree(MyPositionX - TargetPositionX, MyPositionZ - TargetPositionZ);   

 public static float FindDegree(float x, float y)
 {
     float value = (float)((System.Math.Atan2(x, y) / System.Math.PI) * 180f);
     if (value < 0) value += 360f;
     return value;
 }

This will take classic x and y

private void Start(){
    Debug.Log(FindDegree(0, 1));
}

public static float FindDegree(int x, int y){
    float value = (float)((Mathf.Atan2(x, y) / Math.PI) * 180f);
    if(value < 0) value += 360f;

    return value;
}

If you want to use this from transform positions, then vector3.angle is what you are looking for. As you have to know what is forward to calculate it, i believe there even a ready example if you google.

I made an extension, use like this:

float angle = transform.position.AngleTo(touch.position);

Just put this into a CS file somewhere:

public static class _Vector2
{
	public static float AngleTo(this Vector2 this_, Vector2 to)
	{
		Vector2 direction = to - this_;
		float angle = Mathf.Atan2(direction.y,  direction.x) * Mathf.Rad2Deg;
		if (angle < 0f) angle += 360f;
		return angle;
	}
}

This is not (!) mirrored, as Atan2 takes y coordinate first.