Animations
beginning of animals
This commit is contained in:
parent
c98713e3a7
commit
1d80f01994
21 changed files with 1156 additions and 24 deletions
|
|
@ -33,7 +33,7 @@ public class TileBehaviour : MonoBehaviour {
|
|||
}
|
||||
|
||||
void OnMouseDown() {
|
||||
UsableItem usableItem = PlayerController.instance.GetSelectedItem();
|
||||
UsableItem usableItem = PlayerController.instance.SelectedItem;
|
||||
if(usableItem != null) {
|
||||
ActionInvoker.InvokeAction(gameObject, usableItem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue