43 lines
739 B
C#
43 lines
739 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TileManagerScript : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private int _NumTile = 3;
|
|
public int CurrentTile;
|
|
|
|
[SerializeField]
|
|
private List<GameObject> _Tiles;
|
|
|
|
// Start is called before the first frame update
|
|
|
|
private void Awake()
|
|
{
|
|
_Tiles = new List<GameObject>(_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()
|
|
{
|
|
|
|
}
|
|
}
|