示例#1
0
        private void Awake()
        {
            _autoCompleteManager  = GameObject.Find("AutoCompleteManager").GetComponent <AutoCompleteManager>();
            _hintManager          = GameObject.Find("HintManager").GetComponent <HintManager>();
            _deckHeight           = _gameManagerComponent.Corners[2].y - _gameManagerComponent.Corners[0].y;
            _deckWidth            = _gameManagerComponent.Corners[2].x - _gameManagerComponent.Corners[0].x;
            _verticalSpace        = _deckHeight / 3.5f;
            _wasteHorizontalSpace = _deckWidth / 3.0f;

            //print("Deck Height: " + _deckHeight);
            //print("Deck Width: " + _deckWidth);

            //print("Vertical Space: " + _verticalSpace);
            //print("Horizontal Space: " + _wasteHorizontalSpace);
        }