Example #1
0
        ///////
        private void Start() {
            core = GameController.Instance;

            _playerAnimator = transform.parent.GetComponent<Animator>();
            _quickInventory = transform.parent.GetComponent<QuickInventory>();

            if ( item ) {
                ChangeItem(item);
            }
        }
Example #2
0
 // Use this for initialization
 void Start()
 {
     EquipmentList = new QuickInventory(10);
 }
Example #3
0
 private void Awake()
 {
     _inventory = GameController.Instance.Player.GetComponent <QuickInventory>();
 }
Example #4
0
 public void SetInventoryReference(QuickInventory inventory)
 {
     _inventory = inventory;
 }