Ejemplo n.º 1
0
 void Start()
 {
     if (shop == null)
     {
         shop = (ShopAppMart)GetComponent <ShopAppMart>();
     }
     shop.SetListItem(listItem);
 }
Ejemplo n.º 2
0
 //初期化
 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
     }
 }