浏览代码

[Bot] Automated dotnet-format update

/main
Amel 4 年前
当前提交
4a5985db
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      UOP1_Project/Assets/Scripts/Interaction/InteractionManager.cs

4
UOP1_Project/Assets/Scripts/Interaction/InteractionManager.cs


case Interaction.None:
return;
case Interaction.PickUp:
if(_currentInteractableObject != null)
if (_currentInteractableObject != null)
{
//raise an event with an item as parameter (to add object to inventory)
//Item currentItem = currentInteractableObject.GetComponent<Pickable>.item;

_currentInteractableObject = other.gameObject;
}
private void DisplayInteractionUI ()
private void DisplayInteractionUI()
{
//Raise event to display UI
_toggleInteractionUI.RaiseEvent(true, _potentialInteraction);

正在加载...
取消
保存