{"__v":0,"_id":"58796782cd4a9c37007c9757","category":{"version":"58796781cd4a9c37007c96ef","project":"571fa55ca0acd42000af9545","_id":"58796781cd4a9c37007c96f1","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-31T16:56:01.612Z","from_sync":false,"order":1,"slug":"prefabs","title":"Prefabs"},"parentDoc":null,"project":"571fa55ca0acd42000af9545","user":"571fa519db52d01700f5cf3d","version":{"__v":4,"_id":"58796781cd4a9c37007c96ef","project":"571fa55ca0acd42000af9545","createdAt":"2017-01-13T23:49:21.393Z","releaseDate":"2017-01-13T23:49:21.393Z","categories":["58796781cd4a9c37007c96f0","58796781cd4a9c37007c96f1","58796781cd4a9c37007c96f2","58796781cd4a9c37007c96f3","58796781cd4a9c37007c96f4","58796781cd4a9c37007c96f5","58796781cd4a9c37007c96f6","58796781cd4a9c37007c96f7","58796781cd4a9c37007c96f8","58796781cd4a9c37007c96f9","58796781cd4a9c37007c96fa","58796781cd4a9c37007c96fb","58796781cd4a9c37007c96fc","58796781cd4a9c37007c96fd","58796781cd4a9c37007c96fe","58796781cd4a9c37007c96ff","58796781cd4a9c37007c9700","58b157ca1756cf370022f90d","58b1596f5dae732f00adeca2","58b1605a5dae732f00adecb1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Mukota","version_clean":"3.1.0","version":"3.1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-07-31T17:46:12.091Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"## Overview\n\nThis canvas adds the unity console log to a world game object. To use the prefab, it simply needs to be placed into the scene and it will be visible in world space. It's also possible to child it to other objects such as the controller so it can track where the user is.\n\nIt's also recommended to use the Simple Pointer and UI Pointer on a controller to interact with the Console Viewer Canvas as it has a scrollable text area, a button to clear the log and a checkbox to toggle whether the log messages are collapsed.\n\n## Inspector Parameters\n\n * **Font Size:** The size of the font the log text is displayed in.\n * **Info Message:** The colour of the text for an info log message.\n * **Assert Message:** The colour of the text for an assertion log message.\n * **Warning Message:** The colour of the text for a warning log message.\n * **Error Message:** The colour of the text for an error log message.\n * **Exception Message:** The colour of the text for an exception log message.\n\n## Class Methods\n\n### SetCollapse/1\n\n  > `public void SetCollapse(bool state)`\n\n  * Parameters\n   * `bool state` - The state of whether to collapse the output messages, true will collapse and false will not collapse.\n  * Returns\n   * _none_\n\nThe SetCollapse method determines whether the console will collapse same message output into the same line. A state of `true` will collapse messages and `false` will print the same message for each line.\n\n### ClearLog/0\n\n  > `public void ClearLog()`\n\n  * Parameters\n   * _none_\n  * Returns\n   * _none_\n\nThe ClearLog method clears the current log view of all messages","excerpt":"","slug":"consoleviewercanvas","type":"basic","title":"Console Viewer"}
## Overview This canvas adds the unity console log to a world game object. To use the prefab, it simply needs to be placed into the scene and it will be visible in world space. It's also possible to child it to other objects such as the controller so it can track where the user is. It's also recommended to use the Simple Pointer and UI Pointer on a controller to interact with the Console Viewer Canvas as it has a scrollable text area, a button to clear the log and a checkbox to toggle whether the log messages are collapsed. ## Inspector Parameters * **Font Size:** The size of the font the log text is displayed in. * **Info Message:** The colour of the text for an info log message. * **Assert Message:** The colour of the text for an assertion log message. * **Warning Message:** The colour of the text for a warning log message. * **Error Message:** The colour of the text for an error log message. * **Exception Message:** The colour of the text for an exception log message. ## Class Methods ### SetCollapse/1 > `public void SetCollapse(bool state)` * Parameters * `bool state` - The state of whether to collapse the output messages, true will collapse and false will not collapse. * Returns * _none_ The SetCollapse method determines whether the console will collapse same message output into the same line. A state of `true` will collapse messages and `false` will print the same message for each line. ### ClearLog/0 > `public void ClearLog()` * Parameters * _none_ * Returns * _none_ The ClearLog method clears the current log view of all messages