C# Class vvIO.vvConsole

Contains methods for console input/output.
Afficher le fichier Open project: jpwchang/VirtualVEX

Méthodes publiques

Méthode Description
clear ( ) : void

Clears the console buffer

print ( float message ) : void

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.

print ( int message ) : void

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.

print ( string message ) : void

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.

println ( ) : void

Prints a newline to the VirtualVEX console. Equivalent to calling print("\n")

println ( float message ) : void

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")

println ( int message ) : void

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")

println ( string message ) : void

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")

setConsoleParent ( Field f ) : void

Set the parent of the current scene's console (if it exists). Consoles are not objects due to Unity's method-based GUI system, and therefore the parent will not have a vvConsole member. Rather, a valid parent must implement a command table and GUI function for the console window. It must then call this method to attach its member output stream to the console.

Method Details

clear() public static méthode

Clears the console buffer
public static clear ( ) : void
Résultat void

print() public static méthode

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.
public static print ( float message ) : void
message float The message to be printed
Résultat void

print() public static méthode

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.
public static print ( int message ) : void
message int The message to be printed
Résultat void

print() public static méthode

Prints a message to the VirtualVEX console. Useful for debugging purposes when making new robots (since the Unity print function is unavailable outside the Unity editor) or for implementing new console commands.
public static print ( string message ) : void
message string The message to be printed
Résultat void

println() public static méthode

Prints a newline to the VirtualVEX console. Equivalent to calling print("\n")
public static println ( ) : void
Résultat void

println() public static méthode

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")
public static println ( float message ) : void
message float The message to be printed
Résultat void

println() public static méthode

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")
public static println ( int message ) : void
message int The message to be printed
Résultat void

println() public static méthode

Prints a message to the VirtualVEX console immediately followed by a newline. Equivalent to calling print(message) immediately followed by print("\n")
public static println ( string message ) : void
message string The message to be printed
Résultat void

setConsoleParent() public static méthode

Set the parent of the current scene's console (if it exists). Consoles are not objects due to Unity's method-based GUI system, and therefore the parent will not have a vvConsole member. Rather, a valid parent must implement a command table and GUI function for the console window. It must then call this method to attach its member output stream to the console.
public static setConsoleParent ( Field f ) : void
f Field The parent object
Résultat void