void Start() { if (shop == null) { shop = (ShopAppMart)GetComponent <ShopAppMart>(); } shop.SetListItem(listItem); }
//初期化 void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(transform); #if UNITY_ANDROID if (appmart_shop == null) { appmart_shop = new AppMart_Android(gameObject.name, "RecievedResultAppMart", isDebug); } #endif } }