Class PlatformMappingService
Determines the Addressables build platform that should be used based on the target player build platform.
Namespace: UnityEngine.AddressableAssets
Syntax
public class PlatformMappingService : object
Methods
GetPlatform()
Retrieves the Addressables build platform that is being used.
Declaration
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. |