{
//TODO: Interface with a UIManager to allow displayal of the line of dialogue in the UI
//Debug.Log("A line of dialogue has been spoken: \"" + dialogueLine.Sentence + "\" by " + dialogueLine.Actor.ActorName);
if(dialogueLineEvent!=null)
dialogueLineEvent.OnEventRaised(dialogueLine);
if (dialogueLineEvent != null)
}
private void OnTriggerExit(Collider other)
ResetInteraction();
if ((_selectedTabType != TabType.none) && (tabTypesList.Exists(o => o.TabType == _selectedTabType)))
selectedTab = tabTypesList.Find(o=>o.TabType == _selectedTabType);
selectedTab = tabTypesList.Find(o => o.TabType == _selectedTabType);
else
inventoryPanel.FillInventory();
public void CloseInventoryScreen()