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;
}