/// <summary> /// Gets the resource path of the specified asset. /// </summary> /// <param name="assetGuid"> /// The guid of the asset. /// </param> /// <returns> /// <c>null</c> if the asset is not in a <c>Resources</c> folder. /// </returns> public static string GetResourcePath(string assetGuid) { return( Mode == ResourceMapMode.Editor ? ResourceMapEditorAdaptor.GetResourcePath(assetGuid) : ResourceMapPlayerAdaptor.GetResourcePath(assetGuid) ); }