Unity-SCORM Integration Kit  1.0
Integrate Unity3d Projects with your LMS via SCORM
Public Member Functions | Public Attributes | List of all members
AnObjective Class Reference

Allows the display of Objectives in the GUI. More...

Inheritance diagram for AnObjective:

Public Member Functions

void Initialise (int newIndex, StudentRecord.Objectives newData)
 Initialise the specified objective. More...
 
void OnMinEndEdit (string value)
 Fires when the InputFieldMinObjective InputField has finished editing More...
 
void OnMaxEndEdit (string value)
 Fires when the InputFieldMaxObjective InputField has finished editing More...
 
void OnRawEndEdit (string value)
 Fires when the InputFieldRawObjective InputField has finished editing More...
 
void OnProgressMeasureChange (float value)
 Fires when the SliderProgressMeasureObjective Slider value changes More...
 
void OnSuccessPassedChanged (bool value)
 Fires when the ToggleGroupSuccessStatus Passed toggle value changes. More...
 
void OnSuccessFailedChanged (bool value)
 Fires when the ToggleGroupSuccessStatus Failed toggle value changes. More...
 
void OnSuccessUnknownChanged (bool value)
 Fires when the ToggleGroupSuccessStatus Unknown toggle value changes. More...
 
void OnCompletionCompletedChanged (bool value)
 Fires when the ToggleGroupCompletionStatus Completed toggle value changes. More...
 
void OnCompletionIncompleteChanged (bool value)
 Fires when the ToggleGroupCompletionStatus Incomplete toggle value changes. More...
 
void OnCompletionNotAttemptedChanged (bool value)
 Fires when the ToggleGroupCompletionStatus NotAttempted toggle value changes. More...
 
void OnCompletionUnknownChanged (bool value)
 Fires when the ToggleGroupCompletionStatus Unknown toggle value changes. More...
 

Public Attributes

GameObject objectiveIndexGO
 
GameObject objectiveIDGO
 
GameObject objectiveDescriptionGO
 
GameObject objectiveScoreMinGO
 
GameObject objectiveScoreMaxGO
 
GameObject objectiveScoreRawGO
 
GameObject objectiveProgressMeasureGO
 
GameObject objectiveProgressMeasureLabelGO
 
GameObject objectiveSuccessPassedGO
 
GameObject objectiveSuccessFailedGO
 
GameObject objectiveSuccessUnknownGO
 
GameObject objectiveCompletedGO
 
GameObject objectiveIncompleteGO
 
GameObject objectiveNotAttemptedGO
 
GameObject objectiveUnknownGO
 

Detailed Description

Allows the display of Objectives in the GUI.

Member Function Documentation

void AnObjective.Initialise ( int  newIndex,
StudentRecord.Objectives  newData 
)

Initialise the specified objective.

Parameters
newIndexNew index.
newDataNew data of the objective.
void AnObjective.OnCompletionCompletedChanged ( bool  value)

Fires when the ToggleGroupCompletionStatus Completed toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnCompletionIncompleteChanged ( bool  value)

Fires when the ToggleGroupCompletionStatus Incomplete toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnCompletionNotAttemptedChanged ( bool  value)

Fires when the ToggleGroupCompletionStatus NotAttempted toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnCompletionUnknownChanged ( bool  value)

Fires when the ToggleGroupCompletionStatus Unknown toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnMaxEndEdit ( string  value)

Fires when the InputFieldMaxObjective InputField has finished editing

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Score Max Input Field.
void AnObjective.OnMinEndEdit ( string  value)

Fires when the InputFieldMinObjective InputField has finished editing

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Score Min Input Field.
void AnObjective.OnProgressMeasureChange ( float  value)

Fires when the SliderProgressMeasureObjective Slider value changes

Update the data and update the objective via the ScormManager. Also updates the label to display the Slider value.

Parameters
valueValue of the Progress Measure Slider.
void AnObjective.OnRawEndEdit ( string  value)

Fires when the InputFieldRawObjective InputField has finished editing

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Score Raw Input Field.
void AnObjective.OnSuccessFailedChanged ( bool  value)

Fires when the ToggleGroupSuccessStatus Failed toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnSuccessPassedChanged ( bool  value)

Fires when the ToggleGroupSuccessStatus Passed toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.
void AnObjective.OnSuccessUnknownChanged ( bool  value)

Fires when the ToggleGroupSuccessStatus Unknown toggle value changes.

Update the data and update the objective via the ScormManager

Parameters
valueValue of the Toggle.

Member Data Documentation

GameObject AnObjective.objectiveCompletedGO
GameObject AnObjective.objectiveDescriptionGO
GameObject AnObjective.objectiveIDGO
GameObject AnObjective.objectiveIncompleteGO
GameObject AnObjective.objectiveIndexGO
GameObject AnObjective.objectiveNotAttemptedGO
GameObject AnObjective.objectiveProgressMeasureGO
GameObject AnObjective.objectiveProgressMeasureLabelGO
GameObject AnObjective.objectiveScoreMaxGO
GameObject AnObjective.objectiveScoreMinGO
GameObject AnObjective.objectiveScoreRawGO
GameObject AnObjective.objectiveSuccessFailedGO
GameObject AnObjective.objectiveSuccessPassedGO
GameObject AnObjective.objectiveSuccessUnknownGO
GameObject AnObjective.objectiveUnknownGO

The documentation for this class was generated from the following file: