ABBuildHelper.ABPackRule.GetAssetPath C# (CSharp) Méthode

GetAssetPath() private méthode

private GetAssetPath ( string result ) : string
result string
Résultat 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;
        }
    }