UICamera.CompareFunc C# (CSharp) Method

CompareFunc() static private method

Static comparison function used for sorting.
static private CompareFunc ( UICamera, a, UICamera, b ) : int
a UICamera,
b UICamera,
return int
	static int CompareFunc (UICamera a, UICamera b)
	{
		if (a.cachedCamera.depth < b.cachedCamera.depth) return 1;
		if (a.cachedCamera.depth > b.cachedCamera.depth) return -1;
		return 0;
	}