using UnityEngine; namespace DDD { public class RestaurantCharacterMovementConstraint : MonoBehaviour, IRestaurantMovementConstraint { public bool IsBlockingMovement() { if (GetComponent().IsPlayingAnimation()) { return true; } return false; } } }