// Start is called before the first frame update void Start() { mFindMatches = FindObjectOfType <FindMatches>(); refillDots = new Queue <GameObject>(); SetUp(); }
// Board와 FindMatches 저장, 시작시는 일반블럭이니까 false void Start() { mBoard = GameObject.FindObjectOfType <Board>(); findMatches = FindObjectOfType <FindMatches>(); isRowBomb = false; }
// 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(); }
// 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); } }