Merge branch 'UI-Prototypes'

-Merged in better ground check
-Merged in wallrun prototype
This commit is contained in:
Vincent Wheat
2021-10-11 12:48:55 -05:00
11 changed files with 543 additions and 18 deletions

View File

@@ -16,6 +16,14 @@ public class PlayerInventory : MonoBehaviour
return true;
}
public bool AddSpecialItem<T>(T itemCandidate) { // Unless we don't want the four special items to be handled by inventory/inventory manager?
if (itemCandidate is Item) {
items.Add(itemCandidate as Item);
}
return true;
}
public bool RemoveItem(Item item){
if(items.Remove(item)){
return true;