浏览代码

[Bot] Automated dotnet-format update

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

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


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

2
UOP1_Project/Assets/Scripts/Inventory/CollectibleItem.cs


{
Debug.Log("current item " + currentItem);
return currentItem;
}
//this function is only for testing

正在加载...
取消
保存