Ejemplo n.º 1
0
    void Start()
    {
        screen          = GameObject.Find("ScreenStore").GetComponentInChildren <ScreenStore>();
        StoreResultText = GameObject.FindGameObjectWithTag(StoreResultTextTag).GetComponentInChildren <Text>();

        // If we haven't set up the Unity Purchasing reference
        if (m_StoreController == null)
        {
            // Begin to configure our connection to Purchasing
            InitializePurchasing();
        }
    }
Ejemplo n.º 2
0
 public void Start()
 {
     screen          = GameObject.Find("ScreenStore").GetComponentInChildren <ScreenStore>();
     StoreResultText = GameObject.FindGameObjectWithTag(StoreResultTextTag).GetComponentInChildren <Text>();
 }