-
Notifications
You must be signed in to change notification settings - Fork 1
cop_debug
Kamran Wali edited this page Dec 2, 2024
·
5 revisions
Class Name: COP_Debug
Debugger to help print debugs.
cop_debug is a static class that helps with printing different type of debugs. Since this is a static class you can call the methods directly.
Return Type | Name |
---|---|
void | print_script( Object object, String message ) |
void | print_node( Node object, String message ) |
void | print_resource( Resource object, String message ) |
void | print_object( Object object, String message ) |
String | get_script_log( Object object, String message ) |
String | get_node_log( Node object, String message ) |
String | get_resource_log( Resource object, String message ) |
String | get_object_log( Object object, String message ) |
This method prints the log message and the script name.
Note: If the object provided does NOT have a script or is NOT a script then the method will print an error.
This method prints the log message and the node name.
This method prints the log message and the resource name.
Note: If the object provided is NOT a Resource then the method will print an error.
This method prints the log message and the object name and ID
This method returns the script log.
This method returns the Node log.
This method returns the resource log.
This method returns the object log.
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates