기기 타겟팅을 사용하면 하드웨어에 따라 다양한 버전(예: 해상도)의 동일한 애셋을 기기에 전송할 수 있습니다. 예를 들어 사용자 기기에 필요한 애셋만 전송함으로써 전반적인 게임 크기를 늘리지 않고도 하위급 기기에 저해상도 애셋을 전송하여 성능을 향상하고 고급형 기기에 고해상도 애셋을 전송하여 그래픽 품질을 개선하도록 선택할 수 있습니다. 기기 등급 타겟팅은 Play Asset Delivery의 애셋 팩 개념을 기반으로 합니다.
나중에 볼 수 있듯이 그룹 기준 (현재는 RAM, 특정 기기 모델, 사용 가능한 시스템 기능, 단일 칩 시스템을 기반으로 함)을 정의할 수 있습니다.
기기 타겟팅 구성 파일
기기 타겟팅을 시작하려면 기기 타겟팅 구성 파일을 만듭니다. 기기 타겟팅 문서에서 안내를 확인할 수 있습니다.
애셋 팩에 기기 타겟팅 사용
구성 파일을 만든 후 기기 그룹별로 애셋 팩을 세분화할 수 있습니다.
필요한 정확한 단계는 Android Gradle 플러그인으로 앱을 빌드하는지 아니면 Play Unity 플러그인으로 빌드하는지에 따라 다릅니다. 계속하기 전에 빌드 설정을 선택합니다.
생성된 기존 애셋 팩 디렉터리를 가져와서 적절한 폴더에 #group_myCustomGroup1, #group_myCustomGroup2 등으로 접미사를 추가합니다(아래 참고). 앱에서 애셋 팩을 사용할 때는 접미사로 폴더를 주소 지정할 필요가 없습니다. 즉, 빌드 프로세스 중에 접미사가 자동으로 제거됩니다.
이 예에서는 접미사 없이 asset-pack-name/assets/level/를 참조합니다.
myCustomGroup1의 기기는 level#group_myCustomGroup1/ 아래의 모든 애셋을 수신하고 myCustomGroup2의 기기는 level#group_myCustomGroup2/ 아래의 모든 애셋을 수신합니다.
myCustomGroup1 또는 myCustomGroup2에 속하지 않는 기기에는 빈 asset-pack-name 팩이 수신됩니다.
이는 기기 그룹과 일치하지 않는 기기에는 level#group_other 폴더 내에 있거나 #group_suffix가 있는 디렉터리 내에 없는 모든 항목이 포함된 애셋 팩의 기본 변형이 수신되기 때문입니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Device targeting for asset delivery (beta)\n\nDevice targeting lets you deliver different versions\n(e.g. resolutions, etc.) of the same asset to devices based on their\nhardware. For example, you may choose to deliver low resolution assets\nto lower end devices to improve performance, and deliver high resolution\nassets to higher end devices to improve graphic quality - all without\nincurring any increase in overall game size by only delivering the\nnecessary assets to users' devices. This builds upon the concept of\nasset packs in Play [Asset Delivery](/guide/app-bundle/asset-delivery).\nAs you'll see later, you have the power to define the group criteria (for\nnow based on RAM, specific device models, available system features, and system on chip).\n\nDevice targeting configuration file\n-----------------------------------\n\nTo get started with device targeting, create a device targeting configuration\nfile. Instructions can be found in the [documentation for device targeting](/google/play/device-targeting).\n\nUse device targeting for your asset packs\n-----------------------------------------\n\nOnce you have created your configuration file, you can subdivide your asset\npacks by device groups.\n\nThe exact steps required are different depending on whether you are building\nyour app with the Android Gradle Plugin or with the Play Unity Plugin. Before\nproceeding, select your build setup: \nAndroid Gradle Plugin Play Unity Plugin\n\nTake the **existing** asset pack\ndirectories created and post-fix the appropriate folders\n(as described below) with `#group_myCustomGroup1`, `#group_myCustomGroup2`, etc.\nWhen using the asset packs in your app, you won't need to address folders by\npostfix (in other words, the postfix is automatically stripped during the build\nprocess).\n\nAfter the previous step, this might look like: \n\n ...\n .../asset-pack-name/src/main/assets/level#group_myCustomGroup1/\n .../asset-pack-name/src/main/assets/level#group_myCustomGroup2/\n ...\n\nIn this example, you would reference `asset-pack-name/assets/level/`\nwithout any postfixes.\n\nDevices in `myCustomGroup1` will receive all the assets under\n`level#group_myCustomGroup1/`, while devices in `myCustomGroup2` will\nreceive all the assets under `level#group_myCustomGroup2/`.\n\nDevices that don't belong to either `myCustomGroup1` or `myCustomGroup2` will\nreceive an empty `asset-pack-name` pack.\n\nThis is because devices that don't match any device group will receive the\ndefault variant of your asset pack, which includes everything that is either\ninside the `level#group_other` folder or not inside any directory with a\n`#group_suffix`.\n| **Note:** If a device matches multiple groups, it will be served the content for the group that is defined first in the XML file. The order you define groups in the XML file is your priority order.\n| **Important:** It's not possible to prevent **any** variant of your asset pack from being delivered to certain devices. Non-targeted devices will always receive the default variant."]]