From 0fe8a54e09f656c219e3016961b1c29f05efb478 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Tue, 19 Aug 2025 17:01:38 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A0=88=EC=8A=A4=ED=86=A0=EB=9E=91=20?= =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20?= =?UTF-8?q?=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=9D=98=EC=A1=B4?= =?UTF-8?q?=EC=84=B1=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - RestaurantCharacter, RestaurantNpcCharacter, RestaurantCharacterAnimation에 RequireComponent 어트리뷰트 추가 - RestaurantCharacterMovementConstraint에 필수 컴포넌트 의존성 명시 - 깃 커밋 가이드라인 추가 --- .junie/guidelines.md | 4 ++++ .../AssetGroups/Default Local Group.asset | 4 ++-- .../RestaurantCharacter/Npc/RestaurantNpcCharacter.cs | 2 ++ .../_DDD/_Scripts/RestaurantCharacter/RestaurantCharacter.cs | 2 ++ .../RestaurantCharacter/RestaurantCharacterAnimation.cs | 1 + .../RestaurantCharacterMovementConstraint.cs | 1 + 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.junie/guidelines.md b/.junie/guidelines.md index c7c9c1834..9d60af9c3 100644 --- a/.junie/guidelines.md +++ b/.junie/guidelines.md @@ -45,3 +45,7 @@ - 각 응답에 계획, 진행 상황, 다음 단계를 포함한 ``를 포함합니다. - 코드가 변경되었다면, 에지 케이스를 고려하고 런타임 경로에서 에디터 전용 API 사용을 피하십시오. - 제출 전에 의도치 않은 파일(특히 생성 디렉터리와 Addressable 그룹)이 수정되지 않았는지 확인하십시오. + +## 깃 +- 깃 커밋 시, 한국어로 커밋 메시지를 작성합니다. +- 깃 커밋 메시지는 간결하고 핵심 정보만 포함해야 합니다. \ No newline at end of file diff --git a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset index 61fb24fef..b806c94fd 100644 --- a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset +++ b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d20a85268616dfd7559e8b9efe1e58f72a9cb6a91cad858e4f790a7704c44fc5 -size 26385 +oid sha256:3a15437d77269438f686d7b3173546c709877f653d6da247dc1b81770f25560c +size 26726 diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs index fd0cc2ddd..c4efc15cf 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs @@ -1,7 +1,9 @@ using BehaviorDesigner.Runtime; +using UnityEngine; namespace DDD { + [RequireComponent(typeof(BehaviorTree))] public class RestaurantNpcCharacter : RestaurantCharacter { protected BehaviorTree _behaviorTree; diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacter.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacter.cs index f1fd7ee00..c9f4b5d6f 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacter.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacter.cs @@ -3,6 +3,8 @@ namespace DDD { + [RequireComponent(typeof(RestaurantCharacterInteraction))] + [RequireComponent(typeof(SpineController))] public class RestaurantCharacter : MonoBehaviour, IGameCharacter, IInteractor { [EnumToggleButtons, SerializeField] protected InteractionType _interactionType; diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterAnimation.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterAnimation.cs index 13c0d4069..88058c404 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterAnimation.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterAnimation.cs @@ -2,6 +2,7 @@ namespace DDD { + [RequireComponent(typeof(SpineController))] public class RestaurantCharacterAnimation : MonoBehaviour { protected SpineController _spineController; diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterMovementConstraint.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterMovementConstraint.cs index 443d24ae1..ad63b91a3 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterMovementConstraint.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/RestaurantCharacterMovementConstraint.cs @@ -2,6 +2,7 @@ namespace DDD { + [RequireComponent(typeof(RestaurantCharacterAnimation))] public class RestaurantCharacterMovementConstraint : MonoBehaviour, IRestaurantMovementConstraint { public bool IsBlockingMovement()