2025-01-15 22:32:07 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
2025-01-10 02:42:37 +00:00
|
|
|
public class Skill_DashSlash : ProjectileBase
|
|
|
|
|
{
|
2025-01-15 22:32:07 +00:00
|
|
|
public GameObject go_effect;
|
|
|
|
|
|
2025-01-10 02:42:37 +00:00
|
|
|
public override void Set(ProjectileData _data)
|
|
|
|
|
{
|
|
|
|
|
base.Set(_data);
|
2025-01-15 22:32:07 +00:00
|
|
|
go_effect.SetActive(false);
|
|
|
|
|
_data.shooter.Set_Invisible(0.5f, () =>
|
|
|
|
|
{
|
|
|
|
|
go_effect.SetActive(true);
|
|
|
|
|
_data.shooter.Set_Warp(_data.target.Get_PositionFoward());
|
|
|
|
|
transform.position = _data.shooter.Get_Center_position();
|
|
|
|
|
StartCoroutine(Co_Off(0.1f));
|
|
|
|
|
});
|
2025-01-10 02:42:37 +00:00
|
|
|
}
|
|
|
|
|
}
|