Version: 2017.2
스토어 모듈
스토어 설정

스토어 등록

스토어 이름과 구현 방식을 제공하는 RegisterStore 메서드를 호출해야 합니다. IStore 인터페이스가 구현됩니다.

public override void Configure() {
    RegisterStore("GooglePlay", InstantiateMyStore());
}

private void InstantiateMyStore() {
    if (Application.platform == RuntimePlatform.Android) {
        return new MyAlternativeGooglePlayImplementation ();
    }
    return null;
}

Unity IAP가 스토어를 식별할 때 올바른 제품 식별자를 사용하도록 스토어 이름과 개발자가 스토어 제품을 정의할 때 사용하는 이름이 동일하도록 해야 합니다.

스토어 모듈
스토어 설정
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961