Hello Everyone.
Scuse I 've forgot to reply to my last post according
“another-way-to-test-if-shoot-is-possible”.
So thanks for the reply.
My question today was about why you write a little bit differently the function for the ShootAction and the SwordAction ?
private void ShootAction_OnAnyShoot(object sender, ShootAction.OnShootEventArgs e)
{
ScreenShake.Instance.shake();
}
private void SwordAction_OnAnySwordHit(object sender, EventArgs e)
{
ScreenShake.Instance.shake(2f);
}
Why don"t a simple EventArg e for the shootAction?
Thanks.
François