1
Fork 0
slime-blood-and-pain/Assets/Scripts/Tile.cs

19 lines
382 B
C#
Raw Normal View History

2019-04-27 11:38:29 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tile : MonoBehaviour
{
2019-04-27 12:21:33 +00:00
public bool walkable;
2019-04-27 14:15:38 +00:00
public bool roomPart;
2019-04-27 12:21:33 +00:00
public Sprite sprite;
2019-04-27 11:38:29 +00:00
private SpriteRenderer spriteRenderer;
private void Start()
{
spriteRenderer = GetComponent<SpriteRenderer>();
2019-04-27 12:21:33 +00:00
spriteRenderer.sprite = sprite;
2019-04-27 11:38:29 +00:00
}
}