|
|
|
|
|
|
public VoidEventChannelSO OpenInventoryScreenForCookingEvent; |
|
|
|
public VoidEventChannelSO CloseInventoryScreenEvent; |
|
|
|
|
|
|
|
public VoidEventChannelSO OnInteractionEndedEvent; |
|
|
|
public VoidEventChannelSO OnInteractionEndedEvent; |
|
|
|
|
|
|
|
public InteractionUIEventChannelSO SetInteractionEvent; |
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
SetInteractionEvent.OnEventRaised += SetInteractionPanel; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private void Start() |
|
|
|
|
|
|
} |
|
|
|
public void SetInventoryScreen() |
|
|
|
{ |
|
|
|
isForCooking = false; |
|
|
|
isForCooking = false; |
|
|
|
bool isForCooking = false; |
|
|
|
bool isForCooking = false; |
|
|
|
void OpenInventoryScreen() |
|
|
|
{ |
|
|
|
inventoryPanel.gameObject.SetActive(true); |
|
|
|