Esempio n. 1
0
    void Start()
    {
        SE = SEobj.GetComponents <AudioSource>();
        Screen.SetResolution(1920, 1080, true);
        player      = playerObj.GetComponent <Player>();
        CardHandNum = player.PlayerZone.Count;
        pool        = cardPoolObj.GetComponent <CardPool>();

        getDoubleUp = doubleUpobj.GetComponent <DoubleUp>();

        showSpace         = showZone.GetComponent <ShowSpace>();
        showSpace.manager = this;

        StartCoroutine(GameStart());
    }
Esempio n. 2
0
    void Start()
    {
        SystemSound = SEobj.GetComponents <AudioSource>();
        Screen.SetResolution(1920, 1080, true);
        player            = playerObj.GetComponent <Player>();
        CardHandNum       = player.PlayerZone.Count;
        pool              = cardPoolObj.GetComponent <CardPool>();
        enemy             = enemyObj.GetComponent <Enemy>();
        DefaultScale      = SelectFrame.transform.localScale;
        defupos           = new Vector3(-3, 1, 0);
        showSpace         = showZone.GetComponent <ShowSpace>();
        showSpace.manager = this;

        StartCoroutine(GameStart());
    }