칼날 베기
This commit is contained in:
parent
97915a8ced
commit
eae12347e7
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -46,12 +46,15 @@ public class Skill_DeathBlade : ProjectileBase
|
||||||
IEnumerator Co_JoyStick(Actor hitter)
|
IEnumerator Co_JoyStick(Actor hitter)
|
||||||
{
|
{
|
||||||
OptionInfo.Ins.Set_PCMove(hitter, false);
|
OptionInfo.Ins.Set_PCMove(hitter, false);
|
||||||
|
yield return null;
|
||||||
|
if (m_ProjecTileData.shooter.IsMainPC())
|
||||||
|
MyValue.m_RealCamera.MoveCam_TargetBack(m_ProjecTileData.shooter.Get_position());
|
||||||
yield return new WaitForSeconds(0.2f);
|
yield return new WaitForSeconds(0.2f);
|
||||||
go_nextattack.SetActive(true);
|
go_nextattack.SetActive(true);
|
||||||
go_nextattack.transform.position = hitter.Get_Center_position();
|
go_nextattack.transform.position = hitter.Get_Center_position();
|
||||||
yield return new WaitForSeconds(0.3f);
|
yield return new WaitForSeconds(0.3f);
|
||||||
OptionInfo.Ins.Set_PCMove(hitter, true);
|
OptionInfo.Ins.Set_PCMove(hitter, true);
|
||||||
yield return new WaitForSeconds(0.5f);
|
yield return new WaitForSeconds(1.5f);
|
||||||
Off(true);
|
Off(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -141,6 +141,11 @@ public class RealCamera : MyCoroutine
|
||||||
Set_TargetShow(gowitch.transform);
|
Set_TargetShow(gowitch.transform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public void MoveCam_TargetBack(Vector3 targetpos)
|
||||||
|
{
|
||||||
|
transform.position = targetpos;
|
||||||
|
rotateAround = target.eulerAngles.y - 45f;
|
||||||
|
}
|
||||||
|
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
void Start()
|
void Start()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue