示例#1
0
    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);
    }
示例#2
0
 void Start()
 {
     cardViewerWindow = CardViewerWindow.Instance();
     toggleComponent.onValueChanged.AddListener(HandleClick);
 }