Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMDebugMenuDebugTab Class Reference

A class used to handle the display of a debug log tab in a MMDebugMenu More...

Inheritance diagram for MoreMountains.Tools.MMDebugMenuDebugTab:

Public Member Functions

virtual void OnDestroy ()
 Stops listening for events More...
 

Public Attributes

ScrollRect DebugScrollRect
 the scrollrect where the log will be displayed More...
 
Text DebugText
 the text container More...
 
InputField CommandPrompt
 the prompt input More...
 
Text CommandPromptCharacter
 a decorative prompt character More...
 
bool TouchScreenVisible = false
 whether or not the touch screen is visible More...
 

Protected Member Functions

virtual void Awake ()
 On awake we prepare our prompt listener More...
 
virtual void Update ()
 if the mobile touchscreen is open, we move away More...
 
virtual void LateUpdate ()
 on late update we scroll to the bottom if needed More...
 
virtual void OnEnable ()
 Scrolls to the bottom on enable More...
 
virtual void OnMMDebugLogEvent (MMDebug.DebugLogItem item)
 when we get a new log event, we update our text and scroll to the bottom More...
 
virtual IEnumerator ScrollToLogBottomCo ()
 A coroutine used to scroll to the bottom More...
 

Protected Attributes

TouchScreenKeyboard _touchScreenKeyboard
 
RectTransform _rectTransform
 
float _mobileMenuOffset = -1000f
 
bool _touchScreenVisibleLastFrame
 

Detailed Description

A class used to handle the display of a debug log tab in a MMDebugMenu

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.Awake ( )
protectedvirtual

On awake we prepare our prompt listener

◆ LateUpdate()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.LateUpdate ( )
protectedvirtual

on late update we scroll to the bottom if needed

◆ OnDestroy()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.OnDestroy ( )
virtual

Stops listening for events

◆ OnEnable()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.OnEnable ( )
protectedvirtual

Scrolls to the bottom on enable

◆ OnMMDebugLogEvent()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.OnMMDebugLogEvent ( MMDebug.DebugLogItem  item)
protectedvirtual

when we get a new log event, we update our text and scroll to the bottom

Parameters
item

◆ ScrollToLogBottomCo()

virtual IEnumerator MoreMountains.Tools.MMDebugMenuDebugTab.ScrollToLogBottomCo ( )
protectedvirtual

A coroutine used to scroll to the bottom

Returns

◆ Update()

virtual void MoreMountains.Tools.MMDebugMenuDebugTab.Update ( )
protectedvirtual

if the mobile touchscreen is open, we move away

Member Data Documentation

◆ _mobileMenuOffset

float MoreMountains.Tools.MMDebugMenuDebugTab._mobileMenuOffset = -1000f
protected

◆ _rectTransform

RectTransform MoreMountains.Tools.MMDebugMenuDebugTab._rectTransform
protected

◆ _touchScreenKeyboard

TouchScreenKeyboard MoreMountains.Tools.MMDebugMenuDebugTab._touchScreenKeyboard
protected

◆ _touchScreenVisibleLastFrame

bool MoreMountains.Tools.MMDebugMenuDebugTab._touchScreenVisibleLastFrame
protected

◆ CommandPrompt

InputField MoreMountains.Tools.MMDebugMenuDebugTab.CommandPrompt

the prompt input

◆ CommandPromptCharacter

Text MoreMountains.Tools.MMDebugMenuDebugTab.CommandPromptCharacter

a decorative prompt character

◆ DebugScrollRect

ScrollRect MoreMountains.Tools.MMDebugMenuDebugTab.DebugScrollRect

the scrollrect where the log will be displayed

◆ DebugText

Text MoreMountains.Tools.MMDebugMenuDebugTab.DebugText

the text container

◆ TouchScreenVisible

bool MoreMountains.Tools.MMDebugMenuDebugTab.TouchScreenVisible = false

whether or not the touch screen is visible


The documentation for this class was generated from the following file: