/////// private void Start() { core = GameController.Instance; _playerAnimator = transform.parent.GetComponent<Animator>(); _quickInventory = transform.parent.GetComponent<QuickInventory>(); if ( item ) { ChangeItem(item); } }
// Use this for initialization void Start() { EquipmentList = new QuickInventory(10); }
private void Awake() { _inventory = GameController.Instance.Player.GetComponent <QuickInventory>(); }
public void SetInventoryReference(QuickInventory inventory) { _inventory = inventory; }