24 lines
705 B
C#
24 lines
705 B
C#
using UnityEngine;
|
|
|
|
public class Skill_ShadowSlash : ProjectileBase
|
|
{
|
|
public Projectile_StopAndColliderControl go_effect;
|
|
|
|
public override void Set(ProjectileData _data)
|
|
{
|
|
go_effect.gameObject.SetActive(false);
|
|
base.Set(_data);
|
|
OptionInfo.Ins.PCMove = false;
|
|
_data.shooter.Set_CurAnim(eAnim.Skill);
|
|
_data.shooter.Jump(2.1f, () =>
|
|
{
|
|
go_effect.gameObject.SetActive(true);
|
|
go_effect.Set(_data);
|
|
go_effect.transform.position = _data.target.Get_Center_position() + Vector3.up;
|
|
OptionInfo.Ins.PCMove = true;
|
|
_data.shooter.Play_Idle();
|
|
});
|
|
|
|
StartCoroutine(Co_Off(4f));
|
|
}
|
|
} |