"플레이어가 활을 쏠 때 공격 모션이 나오면 좋겠습니다.

(Bow_Attack 애니메이션)"
This commit is contained in:
Ino 2026-01-16 08:09:17 +09:00
parent 0beaf1fa0d
commit 197c59caec
3 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,3 @@
액티브 스킬 1종
서포터

View File

@ -6394,6 +6394,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 608d00eef53109d4987dc53cf586d8e1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Anim: {fileID: 4581880837946012319}
arrow: {fileID: 8937393983639744836}
projectileParent: {fileID: 5061678075927086196}
--- !u!1 &5364417891367720637
@ -9019,6 +9020,11 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a095105d5711d2541ba0f518805662c5, type: 3}
--- !u!95 &4581880837946012319 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 3049476077173804060, guid: a095105d5711d2541ba0f518805662c5, type: 3}
m_PrefabInstance: {fileID: 1569493532971892355}
m_PrefabAsset: {fileID: 0}
--- !u!224 &8406924210966255483 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 7020147591636167160, guid: a095105d5711d2541ba0f518805662c5, type: 3}

View File

@ -4,6 +4,7 @@ using UnityEngine.UI;
public class AimArrowController : MonoBehaviour
{
public Animator m_Anim;
public Image arrow;
public Transform projectileParent;
@ -41,6 +42,7 @@ public class AimArrowController : MonoBehaviour
int count = 1 + (int)IngameMgr.Ins.Get_SkillValue(eSkillType.DoubleShot);
for (int i = 0; i < count; i++)
{
m_Anim.SetTrigger("ShotBow");
Shoot();
yield return new WaitForSeconds(0.15f);
}