public void ActionPointJointsUpdated(ProjectRobotJoints joints) { try { ActionPoint actionPoint = GetActionPointWithJoints(joints.Id); actionPoint.UpdateJoints(joints); OnActionPointUpdated?.Invoke(this, new ActionPointUpdatedEventArgs(actionPoint)); OnProjectChanged?.Invoke(this, EventArgs.Empty); } catch (KeyNotFoundException ex) { Debug.LogError(ex); Notifications.Instance.ShowNotification("Failed to update action point joints", ex.Message); return; } }