using System.Collections; using System.Collections.Generic; using UnityEngine; public class TileManagerScript : MonoBehaviour { [SerializeField] private int _NumTile = 3; public int CurrentTile; [SerializeField] private List _Tiles; // Start is called before the first frame update private void Awake() { _Tiles = new List(_NumTile); CurrentTile = _NumTile / 2; for (int i = 0; i < _Tiles.Count; i++) { _Tiles[i] = null; } for (int i = 0; i < _Tiles.Count; i++) { } } void Start() { } // Update is called once per frame void Update() { } }