Apress / Devel-2D-Games-Unity

Source Code for 'Developing 2D Games with Unity: Independent Game Programming with C#' by Jared Halpern
https://www.apress.com/us/book/9781484237717
Other
215 stars 53 forks source link

Chapter 6 - Cannot Drag Inventory Object Prefab Into Player Inventory Properties #34

Closed Gizmocow501 closed 4 years ago

Gizmocow501 commented 4 years ago

The final step to creating the inventory system for the player was to "Select the Player prefab and drag the newly created InventroyObject prefab into the Inventory Prefab property of the Player script". I have the Inventory Prefab property for the Player script available, but when I try to drag the InventoryObject prefab into it I get a black cancel icon (meaning this is not a viable option). Perhaps I am doing something incorrect, but I have since triple checked all of my scripting. Perhaps, this is a version issue as I am using version 2020.1. Honestly, this is the first issue that I have run into while going through this book.