Exemplo n.º 1
0
    private void Start()
    {
        GoogleMobileAdsScript.HideBannerAd();

        LockRegister = lockStorage.locks[0].GetComponent <LockRegister>();

        multiTouch = Instantiate(multiTouch);
        multiTouch.GetComponent <MultiTouch>().lockRegister = LockRegister;

        restart = Instantiate(restart);
        restart.GetComponent <Restart>().game = gameObject;

        score = Instantiate(score);

        wall = Instantiate(wall);

        SpawnLock();
    }