public void OpenRetreatViewer() { //Debug.Log("Open Retreat!"); //collects the information for the CardViewer CardViewerDetails details = new CardViewerDetails { cardsToDisplay = player.Retreat, locationText = player.playerName + "'s Retreat", }; CardViewerWindow.Instance().ViewCards(details); }
void Start() { cardViewerWindow = CardViewerWindow.Instance(); toggleComponent.onValueChanged.AddListener(HandleClick); }