GridManager.cs 701 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. namespace Game2048
  6. {
  7. public class GridManager : MonoBehaviour
  8. {
  9. public static GridManager Instance;
  10. public List<GameObject> GridGO = new List<GameObject>();
  11. public int[,] GridArray = new int[4, 4];
  12. // ==================================================
  13. private void Awake()
  14. {
  15. Instance = this;
  16. }
  17. private void Start()
  18. {
  19. }
  20. // ==================================================
  21. /// <summary>
  22. ///
  23. /// </summary>
  24. /// <param name="value"></param>
  25. public void UpdateAllGridsText(int[,] value)
  26. {
  27. return;
  28. }
  29. }
  30. }