19 lines
519 B
C#
19 lines
519 B
C#
using UnityEngine;
|
|
|
|
public class Skill_DashSlash : ProjectileBase
|
|
{
|
|
public GameObject go_effect;
|
|
|
|
public override void Set(ProjectileData _data)
|
|
{
|
|
base.Set(_data);
|
|
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));
|
|
});
|
|
}
|
|
} |