C# Class ThinksyQuestionDisplay, thinksy_unity_plugin

Inheritance: MonoBehaviour
Show file Open project: senseix/thinksy_unity_plugin Class Usage Examples

Public Properties

Property Type Description
imagesPerRow int
questionImagePrefab GameObject
questionParent Transform
questionTextPrefab GameObject

Public Methods

Method Description
Awake ( ) : void
DisplayCurrentQuestion ( ) : void

Displays ThinksyPlugin.GetMostRecentProblem() on ALL Question displays.

DisplayProblem ( Problem, problemToDisplay ) : void

Displays the problem on this question display only.

Start ( ) : void

Private Methods

Method Description
ClearRichTextAreas ( ) : void
InstanceDisplayCurrentQuestion ( ) : void
InvokeCategoryAdvancementIfNeeded ( Problem, problemToDisplay ) : void
PopulateRichTextAreas ( Problem, problemToDisplay ) : void
PositionRectTransform ( RectTransform positionMe, float minX, float minY, float maxX, float maxY ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DisplayCurrentQuestion() public static method

Displays ThinksyPlugin.GetMostRecentProblem() on ALL Question displays.
public static DisplayCurrentQuestion ( ) : void
return void

DisplayProblem() public method

Displays the problem on this question display only.
public DisplayProblem ( Problem, problemToDisplay ) : void
problemToDisplay Problem, Problem to display.
return void

Start() public method

public Start ( ) : void
return void

Property Details

imagesPerRow public property

public int imagesPerRow
return int

questionImagePrefab public property

public GameObject questionImagePrefab
return GameObject

questionParent public property

public Transform questionParent
return Transform

questionTextPrefab public property

public GameObject questionTextPrefab
return GameObject