Exemple #1
0
 private void Awake()
 {
     _lattice     = GetComponentInChildren <LatticeView>();
     _puzzleScale = GetComponent <PuzzleScale>();
     _itemPool    = GetComponent <ItemPool>();
     _gameAudio   = GetComponent <GameBoardAudio>();
 }
Exemple #2
0
 private void Awake()
 {
     _puzzleScale = GetComponent <PuzzleScale>();
     _puzzleState = GetComponent <PuzzleState>();
     _puzzleInfo  = GetComponentInChildren <PuzzleInfo>();
     _cursorSwipe = GetComponentInChildren <CursorSwipe>();
 }
Exemple #3
0
        private void Awake()
        {
            _puzzleState = GetComponentInParent <PuzzleState>();
            _puzzleScale = GetComponentInParent <PuzzleScale>();

            _canvas = GetComponentInChildren <Canvas>();
            _text   = _canvas.GetComponentInChildren <Text>();

            _initPos = _canvas.transform.localPosition;
            _canvas.transform.Translate(_hidePos);
        }