NO LONGER CLICK THROUGH UI OMG
This commit is contained in:
parent
d3a06effc5
commit
4a8067d3d7
7 changed files with 76 additions and 28 deletions
|
|
@ -7,6 +7,20 @@ using UnityEngine.Tilemaps;
|
|||
/// Instatiates Tiles at beginning of the game
|
||||
/// </summary>
|
||||
public class TileController : MonoBehaviour {
|
||||
#region Singleton
|
||||
|
||||
public static TileController instance;
|
||||
|
||||
private void Awake() {
|
||||
if (instance != null) {
|
||||
Debug.LogWarning("More than one instance of TileController found");
|
||||
}
|
||||
|
||||
instance = this;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public GameObject tile;
|
||||
|
||||
public GameObject cameraGameObject;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue