private void Start() { cardHovering = null; boardSpaceHovering = Coord.nullCoord; cardController = FindObjectOfType <CardViewController>(); boardState = VEntityComponentSystemManager.Instance; cardMover = FindObjectOfType <CardMover>(); SendEventToBoard(); }
void Start() { deck = new List <CardGameObject>(); hand = new List <CardGameObject>(); discardPile = new List <CardGameObject>(); board = FindObjectOfType <VEntityComponentSystemManager>(); cardMover = FindObjectOfType <CardMover>(); cantrip = GameObject.FindWithTag("cantrip").GetComponent <CardGameObject>(); handControlSystem = VEntityComponentSystemManager.Instance.GetSystem <HandControlSystem>(); }