Exemplo n.º 1
0
    private void Awake()
    {
        _currentCamera = Camera.main;
        blockCountLeft = blocks.Count;

        playerAI.Init();
    }
Exemplo n.º 2
0
    public void Init()
    {
        IsMenu(false);

        mPlayer.Init();
        mPlayerAI1.Init();
        mPlayerAI2.Init();

        mStartGame.SetActive(true);
        gameObject.SetActive(true);
        for (int i = 0; i < mCard3.Length; i++)
        {
            mCard3[i].gameObject.SetActive(false);
        }
    }