Esempio n. 1
0
        // Start is called before the first frame update

        void Start()
        {
            // cardController = FindObjectOfType<CardController>();
            CardViewController = FindObjectOfType <CardViewController>();
            inputController    = FindObjectOfType <BoardInputController>();
            //targetScale = new Vector3(4, 5.5f, 1) * .5f;
            targetPosition = transform.position;
            inHand         = false;
        }
Esempio n. 2
0
 private void Start()
 {
     cardHovering       = null;
     boardSpaceHovering = Coord.nullCoord;
     cardController     = FindObjectOfType <CardViewController>();
     boardState         = VEntityComponentSystemManager.Instance;
     cardMover          = FindObjectOfType <CardMover>();
     SendEventToBoard();
 }