
- RestaurantCharacter, RestaurantNpcCharacter, RestaurantCharacterAnimation에 RequireComponent 어트리뷰트 추가 - RestaurantCharacterMovementConstraint에 필수 컴포넌트 의존성 명시 - 깃 커밋 가이드라인 추가
18 lines
380 B
C#
18 lines
380 B
C#
using BehaviorDesigner.Runtime;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
[RequireComponent(typeof(BehaviorTree))]
|
|
public class RestaurantNpcCharacter : RestaurantCharacter
|
|
{
|
|
protected BehaviorTree _behaviorTree;
|
|
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
|
|
_behaviorTree = GetComponent<BehaviorTree>();
|
|
}
|
|
}
|
|
} |