Click or drag to resize

BaseDebugPanel Class

Base class for debugging common info about a MediaPlayer

If this component is enabled and it finds a MediaPlayer8 component in the provided _MediaPlayerGO

It'll set MediaPlayer8.NativeController.SetCollectDebugInfo(true)

Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          frame8.Logic.Media.MediaPlayerBaseDebugPanel
            frame8.Logic.Media.MediaPlayerAdaptiveCacheDebugPanel
            frame8.Logic.Media.MediaPlayerSimpleDebugPanel

Namespace:  frame8.Logic.Media.MediaPlayer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class BaseDebugPanel : MonoBehaviour

The BaseDebugPanel type exposes the following members.

Constructors
  NameDescription
Protected methodBaseDebugPanel
Top
Properties
  NameDescription
Protected propertyPlayer
The debugged MediaPlayer8
Top
Methods
  NameDescription
Protected methodAwake
Declared for inheritance purposes
Protected methodStart
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
Protected methodUpdate
Collects and updates debug info inside the provided UnityEngine.UI.Text
Top
Fields
  NameDescription
Protected field_DebugInfoText
If not assigned, will try to find it as "DebugInfoText" among children
Protected field_MediaPlayerGO
The first active component of type MediaPlayer8 on this game object will be debugged. If not assigned, this.gameObject will be used
Top
See Also