private void OnMouseUpAsButton() { if (dontRead) { return; } if (Item == null) { Use(InteractionManager.objectUsing); } else { if (InteractionManager.objectUsing != null) { Use(InteractionManager.objectUsing); return; } if (Item.canBePickedUp) { clickedObjectDisplay.DisplayObject(Item, gameObject); } else { cutSceneManager.DisplayMessage(Item.description); } } }
private void DisplayMessage() { cutSceneManager.DisplayMessage(onLoadLevelMessage); onLoadLevelMessage = string.Empty; }