Added first tiles, TileController
This commit is contained in:
parent
ca0718d286
commit
84c1b1f2df
13 changed files with 556 additions and 4 deletions
24
Assets/Scripts/GrassTile.cs
Normal file
24
Assets/Scripts/GrassTile.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class GrassTile : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
Debug.Log("Created");
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void OnMouseDown()
|
||||
{
|
||||
Debug.Log("Clicked");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue