RestaurantCharacter 컴포넌트 종속성 RequireComponent 특성 추가
- RestaurantPlayerAnimation: RestaurantPlayerMovement 종속성 추가 - RestaurantPlayerMovement: Rigidbody, BoxCollider 종속성 추가 - RestaurantNpcMovement: AIPath 종속성 추가
This commit is contained in:
parent
0fe8a54e09
commit
44611116d9
@ -3,6 +3,7 @@
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
[RequireComponent(typeof(AIPath))]
|
||||
public class RestaurantNpcMovement : RestaurantCharacterMovement, IAiMovement, ICurrentDirection
|
||||
{
|
||||
private IAstarAI _iAstarAi;
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
[RequireComponent(typeof(RestaurantPlayerMovement))]
|
||||
public class RestaurantPlayerAnimation : RestaurantCharacterAnimation
|
||||
{
|
||||
private RestaurantPlayerMovement _restaurantPlayerMovement;
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
[RequireComponent(typeof(Rigidbody))]
|
||||
[RequireComponent(typeof(BoxCollider))]
|
||||
public class RestaurantPlayerMovement : RestaurantCharacterMovement, ICurrentDirection
|
||||
{
|
||||
#region Fields
|
||||
|
Loading…
Reference in New Issue
Block a user