Class PlatformMappingService
Determines the Addressables build platform that should be used based on the target player build platform.
Inherited Members
Namespace: UnityEngine.AddressableAssets
Syntax
public class PlatformMappingService
Methods
GetPlatform()
Retrieves the Addressables build platform that is being used.
Declaration
[Obsolete("This API doesn't adapt to the addition of new platforms. Use GetPlatformPathSubFolder instead.")]
public static AddressablesPlatform GetPlatform()
Returns
Type | Description |
---|---|
AddressablesPlatform | Returns the Addressables build platform that is being used. |
GetPlatformPathSubFolder()
Retrieves the Addressables platform subfolder of the build platform that is being used.
Declaration
public static string GetPlatformPathSubFolder()
Returns
Type | Description |
---|---|
String | Returns the Addressables platform subfolder of the build platform that is being used. |