Created
May 22, 2022 06:15
-
-
Save drusepth/9c132750d13f00e1f5b98fb606730a1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CardColumnManager : MonoBehaviour | |
{ | |
public Stack<GameObject> card_stack; | |
void Start() | |
{ | |
card_stack = new Stack<GameObject>(); | |
} | |
public void AddCard(GameObject card) | |
{ | |
Debug.Log("stack is currently: "); | |
Debug.Log(card_stack.Count); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment