UnityEditor.GameObjectTreeViewDataSource.GetAdjustedItemDepth C# (CSharp) Method

GetAdjustedItemDepth() private method

private GetAdjustedItemDepth ( bool hasSearchString, int minDepth, int adjPropertyDepth ) : int
hasSearchString bool
minDepth int
adjPropertyDepth int
return int
        private int GetAdjustedItemDepth(bool hasSearchString, int minDepth, int adjPropertyDepth)
        {
            return (!hasSearchString ? (adjPropertyDepth - minDepth) : 0);
        }