public void Setup() { _playerController = gameObject.GetComponent <PlayerController>(); _playerInventoryComponent = gameObject.GetComponent <InventoryComponent>(); _outfitComponent = gameObject.GetComponent <OutfitComponent>(); fireButton.interactable = false; _gun = null; }
public void SetOutfitComponent(OutfitComponent outfitComponent) { _outfitComponent = outfitComponent; }