using System; using Actions; using UnityEngine; public class ScreenShakeActions : MonoBehaviour { private void Start() => ShootAction.OnAnyShoot += ShootAction_OnAnyShoot; private void ShootAction_OnAnyShoot(object sender, ShootAction.ShootEventArgs e) => ScreenShake.Instance.Shake(); }