melee weapon now spawns in hand melee substate cleaned up to work with above added new playerinventory script on player added new playeranimation script on player changed inventory to IInventory animations tweaked to avoid a lockout
13 lines
300 B
C#
13 lines
300 B
C#
using System.Collections.Generic;
|
|
using Reset.Items;
|
|
using UnityEngine;
|
|
|
|
namespace Reset.Units{
|
|
public interface IInventory{
|
|
public List<Item> storedItems{ get; set; }
|
|
|
|
public void AddToInventory(Item newItem){
|
|
storedItems.Add(newItem);
|
|
}
|
|
}
|
|
} |