Skip to content

Instantly share code, notes, and snippets.

@drusepth
Created May 22, 2022 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drusepth/9c132750d13f00e1f5b98fb606730a1b to your computer and use it in GitHub Desktop.
Save drusepth/9c132750d13f00e1f5b98fb606730a1b to your computer and use it in GitHub Desktop.
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