//------------------------ // cache a reference to the PlayerInventoryDisplay object // that is in the parent GameObject void Awake() { playerInventoryDisplay = GetComponent <PlayerInventoryDisplayTotal>(); }
//------------------------ // cache a reference to the PlayerInventoryDisplay object // that is in the parent GameObject void Awake() { playerInventoryDisplay = GetComponent <PlayerInventoryDisplayTotal>(); }