C# Class NG.AssertDebug.AssertDebugConfig

Mostra file Open project: Naphier/NGTools Class Usage Examples

Public Properties

Property Type Description
assertDisable bool
assertFailureReaction FailureReaction
debugConsoleDisplay DebugConsoleDisplay
debugConsoleKey KeyCode
debugErrorReaction FailureReaction
debugFileHeader string
debugLogWarningLevel DebugWarningLevel
logFileExt string
logFileName string
logToFileCondition LogToFileCondition
masterDisable bool
runInDebugBuildOnly bool
screenShotFileName string
shouldAssertDoFailure bool
shouldLogErrorDoFailure bool
takeScreenShot bool

Public Methods

Method Description
GetDebugFileName ( ) : string
GetLogFilePath ( ) : string

Returns the log file path. When running from the editor this will be the "Unity project folder"/logs. When running a standalone build this will be MyDocuments/CompanyName/ApplicationName/logs

GetScreenShotFileName ( ) : string
LoadSettings ( ) : void
ReloadSettings ( ) : void
RestoreDefaults ( ) : bool
Save ( ) : string
ShowGuiLogConsoleOnError ( ) : bool

Private Methods

Method Description
Save ( string fileName ) : void
ScreenShotFileName ( int extNum ) : string

Method Details

GetDebugFileName() public method

public GetDebugFileName ( ) : string
return string

GetLogFilePath() public method

Returns the log file path. When running from the editor this will be the "Unity project folder"/logs. When running a standalone build this will be MyDocuments/CompanyName/ApplicationName/logs
public GetLogFilePath ( ) : string
return string

GetScreenShotFileName() public method

public GetScreenShotFileName ( ) : string
return string

LoadSettings() public static method

public static LoadSettings ( ) : void
return void

ReloadSettings() public static method

public static ReloadSettings ( ) : void
return void

RestoreDefaults() public static method

public static RestoreDefaults ( ) : bool
return bool

Save() public static method

public static Save ( ) : string
return string

ShowGuiLogConsoleOnError() public method

public ShowGuiLogConsoleOnError ( ) : bool
return bool

Property Details

assertDisable public_oe property

public bool assertDisable
return bool

assertFailureReaction public_oe property

public FailureReaction assertFailureReaction
return FailureReaction

debugConsoleDisplay public_oe property

public DebugConsoleDisplay debugConsoleDisplay
return DebugConsoleDisplay

debugConsoleKey public_oe property

public KeyCode debugConsoleKey
return KeyCode

debugErrorReaction public_oe property

public FailureReaction debugErrorReaction
return FailureReaction

debugFileHeader public_oe property

public string debugFileHeader
return string

debugLogWarningLevel public_oe property

public DebugWarningLevel debugLogWarningLevel
return DebugWarningLevel

logFileExt public_oe property

public string logFileExt
return string

logFileName public_oe property

public string logFileName
return string

logToFileCondition public_oe property

public LogToFileCondition logToFileCondition
return LogToFileCondition

masterDisable public_oe property

public bool masterDisable
return bool

runInDebugBuildOnly public_oe property

public bool runInDebugBuildOnly
return bool

screenShotFileName public_oe property

public string screenShotFileName
return string

shouldAssertDoFailure public_oe property

public bool shouldAssertDoFailure
return bool

shouldLogErrorDoFailure public_oe property

public bool shouldLogErrorDoFailure
return bool

takeScreenShot public_oe property

public bool takeScreenShot
return bool