Table of Contents

Class TopPanelController

Namespace
UI

The TopPanelController handpes updates to the UI panel of the trainign scenario, showing the instructions and progress percentage of the training.

public class TopPanelController : MonoBehaviour
Inheritance
object
TopPanelController

Fields

errorColor

public Color errorColor

Field Value

Color

successColor

The color of the UI animation played on correct actions.

public Color successColor

Field Value

Color

Methods

EndOnboardingText()

Restores the instruction text that was shown before the onboarding hints (e.g. after repositioning).

public void EndOnboardingText()

ShowOnboardingText(string)

Shows an onboarding hint (scanning, placing) in the instruction text until EndOnboardingText is called.

public void ShowOnboardingText(string text)

Parameters

text string

The onboarding hint.