Class EMSGetExperiencesUIB
Displays and utilizes the experiences coming down from the EMS in a simple way. Works hand-in-hand with the EMSGetExperiencesB, which gets the experiences.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
EMSGetExperiencesUIB
Inherited Members
Namespace: Appearition.Example
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(EMSGetExperiencesB))]
public class EMSGetExperiencesUIB : BaseEMSUITab
Fields
allExperiencesContainer
Declaration
public RectTransform allExperiencesContainer
Field Value
Type | Description |
---|---|
UnityEngine.RectTransform |
getAllExperiencesBT
Declaration
public Button getAllExperiencesBT
Field Value
Type | Description |
---|---|
UnityEngine.UI.Button |
previewIsPreDownloadText
Declaration
public Text previewIsPreDownloadText
Field Value
Type | Description |
---|---|
UnityEngine.UI.Text |
previewMediaTypeText
Declaration
public Text previewMediaTypeText
Field Value
Type | Description |
---|---|
UnityEngine.UI.Text |
previewNameText
Declaration
public Text previewNameText
Field Value
Type | Description |
---|---|
UnityEngine.UI.Text |
previewTargetImage
Declaration
public Image previewTargetImage
Field Value
Type | Description |
---|---|
UnityEngine.UI.Image |
previewTextText
Declaration
public Text previewTextText
Field Value
Type | Description |
---|---|
UnityEngine.UI.Text |
singleExperiencePrefab
Declaration
public GameObject singleExperiencePrefab
Field Value
Type | Description |
---|---|
UnityEngine.GameObject |
Methods
ClearAllExperiences()
Destroys and clears all the loaded experiences in the display panel.
Declaration
public void ClearAllExperiences()
ClearPreview()
Sets default values to the preview display.
Declaration
public void ClearPreview()
OnExperienceButtonPressed(Linker_SingleGetExperiencesEntry)
Occurs whenever an experience button is pressed. Display the experience on the preview.
Declaration
public void OnExperienceButtonPressed(Linker_SingleGetExperiencesEntry entry)
Parameters
Type | Name | Description |
---|---|---|
Linker_SingleGetExperiencesEntry | entry | Entry. |
OnGetAllExperiencesButtonPressed()
Pressed whenever requesting to get all the experiences from the stored channel. Fetches and display them!
Declaration
public void OnGetAllExperiencesButtonPressed()