mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Cleaned up code
Slide Works again Ragdoll works again Cam is stable New Debugging prefab
This commit is contained in:
@@ -32,12 +32,6 @@ public class PlayerInventory : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void RemoveItem(Item item){
|
||||
if(items.Remove(item)){
|
||||
|
||||
Reference in New Issue
Block a user