DevTool
  • 🏡Home
  • ⭐Getting Started
  • Manual
    • DevTool Canvas
    • DevTool Settings
    • New Input System
  • API
    • CommandTemplate
    • DevToolUtility
Powered by GitBook
On this page
  • Description
  • Prefab
  • Component
  • Canvas Toggle
  1. Manual

DevTool Canvas

PreviousGetting StartedNextDevTool Settings

Last updated 2 years ago

Description

DevTool Canvas is main component for displaying DevTool using a UI Elements.

Prefab

Most easiest way to create DevTool Canvas it's use ready made prefab. To find it, go by this path in your project:

Assets/RenownedGames/DevTool/Prefabs/Canvas/DevTool Canvas.prefab

Drag and drop at the your scene.

Don't forget, Event System required to work DevTool Canvas. Make sure that you create it, in the scene where you use DevTool Canvas.

After that you start a play to test it.

Component

To change some settings of canvas edit DevTool Canvas component.

Name
Description

Contents

Rect Transform which will be used as parent for all items.

Max Display Items

How much items can be drawed per time.

Title Text

Display current path name.

Show Full Path

If true will be displayed absolute path to directory.

Pause Settings

---------------------------------------------

Pause Game

If true game will be paused after enabling DevTool Canvas

Game Object

Pause message panel.

Tick Rate

Notification tick rate of pause message panel.

Message Settings

---------------------------------------------

Game Object

Command execution result message panel.

Text

Command execution result message text.

Input Settings

---------------------------------------------

Parent Directory

Input key for opening parent directory of current.

Canvas Toggle

After drag&drop and start game canvas will be active at all the time. For toggling canvas by specified key you can use Canvas Toggle. To create it, click right mouse button on hierarhy window and select Create Canvas Toggle.

After that add your canvas here and set specified key to toggle it

DevTool Canvas gameobject
Create Event System menu item
DevTool Canvas in game mode.
DevTool Canvas component
Create Canvas Toggle menu item
Canvas Toggle component.