BaseDebugPanel Class |
If this component is enabled and it finds a MediaPlayer8 component in the provided _MediaPlayerGO
It'll set MediaPlayer8.NativeController.SetCollectDebugInfo(true)
Namespace: frame8.Logic.Media.MediaPlayer
public abstract class BaseDebugPanel : MonoBehaviour
The BaseDebugPanel type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseDebugPanel |
| Name | Description | |
|---|---|---|
| Awake |
Declared for inheritance purposes
| |
| Start |
Tries to set Player.NativeController.SetCollectDebugInfo(true) once every 3 seconds unti it succeeds
It assumes that, because the component is enabled, the debug info should show
| |
| Update |
Collects and updates debug info inside the provided UnityEngine.UI.Text
|
| Name | Description | |
|---|---|---|
| _DebugInfoText |
If not assigned, will try to find it as "DebugInfoText" among children
| |
| _MediaPlayerGO |
The first active component of type MediaPlayer8 on this game object will be debugged. If not assigned, this.gameObject will be used
|