private Task ShootingStart(float x, float y) { if (debug) { Console.WriteLine($"OBSERVER: NetworkManagerClient ShootingStart"); } Vector2 vec = new Vector2(x, y); OnShootStart?.Invoke(vec); return(Task.CompletedTask); }
public void ShootStart() { OnShootStart?.Invoke(this); Shoot(); }