added StardewValley Fence Sprites

you can now place and buy fences
Fences have a collider
This commit is contained in:
d-hain 2022-06-16 23:26:36 +02:00
parent e0212ff174
commit 7382561f01
31 changed files with 1651 additions and 6 deletions

View file

@ -2,6 +2,7 @@ using System;
using System.Collections;
using DefaultNamespace;
using UnityEngine;
using Object = System.Object;
using Random = UnityEngine.Random;
public class Animal : MonoBehaviour {
@ -56,6 +57,8 @@ public class Animal : MonoBehaviour {
}
private void OnMouseDown() {
//TODO: TEMP!!!!
Destroy(gameObject);
ActionInvoker.InvokeAction(gameObject, PlayerController.instance.SelectedItem);
}
}