레스토랑 오더 솔버 코멘트 변경
This commit is contained in:
parent
a8ff9a1707
commit
fa2ebd4510
@ -0,0 +1,7 @@
|
|||||||
|
namespace DDD
|
||||||
|
{
|
||||||
|
public class ContinueRestaurantOrder
|
||||||
|
{
|
||||||
|
// 이미 있는 인터랙션 타겟을 대상으로 진행함
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d0b954edf40f4172964dbd6e4fe22b1a
|
||||||
|
timeCreated: 1755772289
|
@ -13,7 +13,8 @@ public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable in
|
|||||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null,
|
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null,
|
||||||
ScriptableObject payloadSo = null)
|
ScriptableObject payloadSo = null)
|
||||||
{
|
{
|
||||||
return true;
|
// Interactable's CurrentInteractor is me? => Can execute
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -7,6 +7,10 @@ public class RestaurantOrderSolver_Wait : MonoBehaviour, IInteractionSubsystemSo
|
|||||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payloadSo = null)
|
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payloadSo = null)
|
||||||
{
|
{
|
||||||
// TODO : DO SOMETHING!!!
|
// TODO : DO SOMETHING!!!
|
||||||
|
/* TODO
|
||||||
|
* OnInteracted에서 상태를 바꾸는 대신, 여기서 직접 바꿔주고, 현재 나에게 점유되어 있다는 사실을 알려주기? 그리고 CanInteractTo에서 이게 일치해야만 참 반환하게?
|
||||||
|
* 필요하다면 IInteractable 인터페이스에 CurrentInteractor를 등록하는 메소드를 추가해야 할수도?
|
||||||
|
*/
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user