ABBuildHelper.ABPackRule.GetAssetPath C# (CSharp) Method

GetAssetPath() private method

private GetAssetPath ( string result ) : string
result string
return string
        private string GetAssetPath(string result)
        {
            if (result.StartsWith(Application.dataPath))
                return result == Application.dataPath ? "" : result.Substring(Application.dataPath.Length + 1);
            else if (result.StartsWith("Assets"))
                return result == "Assets" ? "" : result.Substring("Assets/".Length);
            return null;
        }
    }