feat: 아군 타게팅 시스템 구현 — SingleAlly 투사체형 치유/보호막
- 치유/보호막 스킬을 즉발 자가시전에서 투사체형 아군 1인 타겟팅으로 전환 - TargetType.SingleAlly 추가, targetOverride 매개변수로 외부 타겟 주입 지원 - PlayerSkillInput: 카메라 레이캐스트 기반 아군 탐지, 서버 검증, RPC 타겟 ID 전달 - AllyTargetIndicator: 호버 아군 위에 디스크 인디케이터 표시, 사거리/초과 색상 변경 - SpawnEffect: 타겟 방향 회전 보정 - 투사체 스폰 이펙트 에셋 생성 (치유/보호막 각각) - 인디케이터 프리팹 + URP/Unlit 머티리얼 생성 - Player 프리팹에 AllyTargetIndicator 컴포넌트 추가 및 설정 - Input.mousePosition → Mouse.current.position.ReadValue() 수정 (Input System 호환)
This commit is contained in:
@@ -34,4 +34,4 @@ MonoBehaviour:
|
||||
castStartEffects:
|
||||
- {fileID: 11400000, guid: e7d0d605c1c2449ebc41f1a713670d6b, type: 2}
|
||||
effects:
|
||||
- {fileID: 11400000, guid: 65ed1eabc2fb73d43b86230317222608, type: 2}
|
||||
- {fileID: 11400000, guid: 56a1bd42fcfe15f45b8accfdd52cd8ea, type: 2}
|
||||
|
||||
@@ -33,4 +33,4 @@ MonoBehaviour:
|
||||
castStartEffects:
|
||||
- {fileID: 11400000, guid: e7d0d605c1c2449ebc41f1a713670d6b, type: 2}
|
||||
effects:
|
||||
- {fileID: 11400000, guid: fa5f619fe89f93f4293a0d5edcfe9592, type: 2}
|
||||
- {fileID: 11400000, guid: dcc05a9682b83014bb80da5f880094c7, type: 2}
|
||||
|
||||
@@ -12,14 +12,14 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 6598d3be8b5522b4494d1f60cbc1986c, type: 3}
|
||||
m_Name: Data_SkillEffect_Player_보호막_0_보호막
|
||||
m_EditorClassIdentifier: Colosseum.Game::Colosseum.Skills.Effects.ShieldEffect
|
||||
targetType: 1
|
||||
targetType: 2
|
||||
targetTeam: 1
|
||||
areaCenter: 0
|
||||
areaShape: 0
|
||||
targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
includeCasterInArea: 1
|
||||
includeCasterInArea: 0
|
||||
areaRadius: 6
|
||||
fanOriginDistance: 1
|
||||
fanRadius: 3
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a3139ddf07cfe324fa692a88cd565e24, type: 3}
|
||||
m_Name: "Data_SkillEffect_Player_\uBCF4\uD638\uB9C9_1_\uD22C\uC0AC\uCCB4\uC2A4\uD3F0"
|
||||
m_EditorClassIdentifier: Colosseum.Game::Colosseum.Skills.Effects.SpawnEffect
|
||||
targetType: 2
|
||||
targetTeam: 1
|
||||
areaCenter: 0
|
||||
areaShape: 0
|
||||
targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
areaRadius: 3
|
||||
fanOriginDistance: 1
|
||||
fanRadius: 3
|
||||
fanHalfAngle: 45
|
||||
prefab: {fileID: 7991191450305394598, guid: b8e3d022f0a2ce84da42fe4afd4a1b13, type: 3}
|
||||
spawnLocation: 1
|
||||
spawnOffset: {x: 0, y: 1, z: 0}
|
||||
parentToCaster: 0
|
||||
autoDestroyTime: 0
|
||||
useCombatContextTarget: 0
|
||||
hitEffect: {fileID: 11400000, guid: 65ed1eabc2fb73d43b86230317222608, type: 2}
|
||||
@@ -12,7 +12,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: abc224c01f587d447bc8df723ef522ba, type: 3}
|
||||
m_Name: Data_SkillEffect_Player_치유_0_회복
|
||||
m_EditorClassIdentifier: Colosseum.Game::Colosseum.Skills.Effects.HealEffect
|
||||
targetType: 0
|
||||
targetType: 2
|
||||
targetTeam: 1
|
||||
areaCenter: 0
|
||||
areaShape: 0
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a3139ddf07cfe324fa692a88cd565e24, type: 3}
|
||||
m_Name: "Data_SkillEffect_Player_\uCE58\uC720_1_\uD22C\uC0AC\uCCB4\uC2A4\uD3F0"
|
||||
m_EditorClassIdentifier: Colosseum.Game::Colosseum.Skills.Effects.SpawnEffect
|
||||
targetType: 2
|
||||
targetTeam: 1
|
||||
areaCenter: 0
|
||||
areaShape: 0
|
||||
targetLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
areaRadius: 3
|
||||
fanOriginDistance: 1
|
||||
fanRadius: 3
|
||||
fanHalfAngle: 45
|
||||
prefab: {fileID: 7991191450305394598, guid: b8e3d022f0a2ce84da42fe4afd4a1b13, type: 3}
|
||||
spawnLocation: 1
|
||||
spawnOffset: {x: 0, y: 1, z: 0}
|
||||
parentToCaster: 0
|
||||
autoDestroyTime: 0
|
||||
useCombatContextTarget: 0
|
||||
hitEffect: {fileID: 11400000, guid: fa5f619fe89f93f4293a0d5edcfe9592, type: 2}
|
||||
Reference in New Issue
Block a user