Ejemplo n.º 1
0
        // Start is called before the first frame update
        void Start()
        {
            mFindMatches = FindObjectOfType <FindMatches>();
            refillDots   = new Queue <GameObject>();

            SetUp();
        }
Ejemplo n.º 2
0
        // Board와 FindMatches 저장, 시작시는 일반블럭이니까 false
        void Start()
        {
            mBoard      = GameObject.FindObjectOfType <Board>();
            findMatches = FindObjectOfType <FindMatches>();

            isRowBomb = false;
        }
Ejemplo n.º 3
0
        // Start is called before the first frame update
        void Start()
        {
            //StartCoroutine("DisplayGoalPage");

            mFindMatches = FindObjectOfType <FindMatches>();
            scoreManager = FindObjectOfType <ScoreManager>();
            refillDots   = new Queue <GameObject>();
            //endPage.active = false;

            SetUp();
        }
Ejemplo n.º 4
0
        // Board와 FindMatches 저장, 시작시는 일반블럭이니까 false
        void Start()
        {
            mBoard      = GameObject.FindObjectOfType <Board>();
            findMatches = FindObjectOfType <FindMatches>();

            isRowBomb = false;

            if (this.gameObject.GetComponent <CircleCollider2D>() != null)
            {
                CircleCollider2D collider = this.gameObject.GetComponent <CircleCollider2D>();
                Destroy(collider);
            }
        }