/// <summary> /// Fires when the ToggleGroupCompletionStatus Incomplete toggle value changes. /// </summary> /// <remarks>Update the data and update the objective via the ScormManager</remarks> /// <param name="value">Value of the Toggle.</param> public void OnCompletionIncompleteChanged(bool value) { if (!isInitialising) { if (value) { data.completionStatus = StudentRecord.CompletionStatusType.incomplete; ScormManager.UpdateObjective(index, data); } } }
/// <summary> /// Fires when the ToggleGroupCompletionStatus NotAttempted toggle value changes. /// </summary> /// <remarks>Update the data and update the objective via the ScormManager</remarks> /// <param name="value">Value of the Toggle.</param> public void OnCompletionNotAttemptedChanged(bool value) { if (!isInitialising) { if (value) { data.completionStatus = StudentRecord.CompletionStatusType.not_attempted; ScormManager.UpdateObjective(index, data); } } }
/// <summary> /// Fires when the ToggleGroupSuccessStatus Unknown toggle value changes. /// </summary> /// <remarks>Update the data and update the objective via the ScormManager</remarks> /// <param name="value">Value of the Toggle.</param> public void OnSuccessUnknownChanged(bool value) { if (!isInitialising) { if (value) { data.successStatus = StudentRecord.SuccessStatusType.unknown; ScormManager.UpdateObjective(index, data); } } }