Feel  4.0.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_DebugLog Class Reference

This feedback will let you output a message to the console, using a custom MM debug method, or Log, Assertion, Error or Warning logs. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_DebugLog:
MoreMountains.Feedbacks.MMF_Feedback

Public Types

enum  DebugLogModes {
  DebugLogModes.DebugLogTime, DebugLogModes.Log, DebugLogModes.Assertion, DebugLogModes.Error,
  DebugLogModes.Warning
}
 sets the inspector color for this feedback More...
 

Public Attributes

DebugLogModes DebugLogMode = DebugLogModes.DebugLogTime
 the selected debug mode More...
 
string DebugMessage
 the message to display More...
 
Color DebugColor = Color.cyan
 the color of the message when in DebugLogTime mode More...
 
bool DisplayFrameCount = true
 whether or not to display the frame count when in DebugLogTime mode More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we output our message to the console using the selected mode More...
 

Properties

override float FeedbackDuration [get]
 the duration of this feedback is 0 More...
 

Additional Inherited Members

Detailed Description

This feedback will let you output a message to the console, using a custom MM debug method, or Log, Assertion, Error or Warning logs.

Member Enumeration Documentation

◆ DebugLogModes

sets the inspector color for this feedback

the possible debug modes

Enumerator
DebugLogTime 
Log 
Assertion 
Error 
Warning 

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_DebugLog.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play we output our message to the console using the selected mode

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ DebugColor

Color MoreMountains.Feedbacks.MMF_DebugLog.DebugColor = Color.cyan

the color of the message when in DebugLogTime mode

◆ DebugLogMode

DebugLogModes MoreMountains.Feedbacks.MMF_DebugLog.DebugLogMode = DebugLogModes.DebugLogTime

the selected debug mode

◆ DebugMessage

string MoreMountains.Feedbacks.MMF_DebugLog.DebugMessage

the message to display

◆ DisplayFrameCount

bool MoreMountains.Feedbacks.MMF_DebugLog.DisplayFrameCount = true

whether or not to display the frame count when in DebugLogTime mode

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_DebugLog.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_DebugLog.FeedbackDuration
get

the duration of this feedback is 0


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