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

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

            isRowBomb = false;
        }
Example #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();
        }
Example #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);
            }
        }