private void Update() { if (commandSource.HasCommand(CommandType.Fire)) { var fireCommand = commandSource.GetLastCommand(CommandType.Fire); gun.IssueFireCommand(fireCommand); } }