private void Awake() { _lattice = GetComponentInChildren <LatticeView>(); _puzzleScale = GetComponent <PuzzleScale>(); _itemPool = GetComponent <ItemPool>(); _gameAudio = GetComponent <GameBoardAudio>(); }
private void Awake() { _puzzleScale = GetComponent <PuzzleScale>(); _puzzleState = GetComponent <PuzzleState>(); _puzzleInfo = GetComponentInChildren <PuzzleInfo>(); _cursorSwipe = GetComponentInChildren <CursorSwipe>(); }
private void Awake() { _puzzleState = GetComponentInParent <PuzzleState>(); _puzzleScale = GetComponentInParent <PuzzleScale>(); _canvas = GetComponentInChildren <Canvas>(); _text = _canvas.GetComponentInChildren <Text>(); _initPos = _canvas.transform.localPosition; _canvas.transform.Translate(_hidePos); }