public void checkInteractionList() { if (Input.GetKeyDown(KeyCode.E)) { if (interactionList.Count > 0) { InteractionInterface interaction = interactionList[interactionList.Count - 1]; interaction.InteractionBody(); } } }
public void checkInteractionList() { if (Input.GetKeyDown(KeyCode.E)) { if (interactionList.Count > 0) { InteractionInterface interaction = interactionList[interactionList.Count - 1]; interaction.InteractionBody(); } } }