fixed first Shop Slot
started on shop switcher button (for animal shop)
This commit is contained in:
parent
b0ab924037
commit
acd602c85a
11 changed files with 286 additions and 143 deletions
|
|
@ -33,7 +33,7 @@ public class PlayerController : MonoBehaviour {
|
|||
public UsableItem SelectedItem {
|
||||
get => _selectedItem;
|
||||
set {
|
||||
if(_inventory.elements.ContainsKey(value)) {
|
||||
if(_inventory.Elements.ContainsKey(value)) {
|
||||
_selectedItem = value;
|
||||
Cursor.SetCursor(value.defaultSprite.texture, Vector2.zero, CursorMode.Auto);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue