[SerializeField] private PlayerInventoryController inventory; //the players inventory //initialises stats void Start() { health = maxHealth; mana = maxMana; speed = moveController.getSpeed(); }