17 lines
379 B
C#
17 lines
379 B
C#
![]() |
using UnityEngine;
|
||
|
|
||
|
namespace DDD
|
||
|
{
|
||
|
public class RestaurantCharacterMovementConstraint : MonoBehaviour, IRestaurantMovementConstraint
|
||
|
{
|
||
|
public bool IsBlockingMovement()
|
||
|
{
|
||
|
if (GetComponent<RestaurantCharacterAnimation>().IsPlayingAnimation())
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
}
|