Exemplo n.º 1
0
        void Start()
        {
            binder = gameObject.transform.parent.Find("BankBinder").gameObject.GetComponent <BankBinder>();

            // If we haven't set up the Unity Purchasing reference
            if (m_StoreController == null)
            {
                // Begin to configure our connection to Purchasing
                InitializePurchasing();
            }
            else
            {
                InitBuyItems();
            }

            binder.log_text.gameObject.SetActive(false);
        }
Exemplo n.º 2
0
 public override void ExtendedStart()
 {
     binder = gameObject.transform.parent.Find("BankBinder").GetComponent <BankBinder>();
     Localizer.Localize(binder);
 }