Player Path Tool: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


The player Path Tool has automatically created a new path called PlayerPath_0:
The player Path Tool has automatically created a new path called PlayerPath_0:
[[File:PPT NewPath.png|thumb]]
[[File:PPT NewPath.png|thumb]]



Revision as of 13:24, 27 March 2024

Introduction

The player path tool is a simple tool to create multiples lines with various points, giving a visual aid for creating levels, helping the visualization of the possible paths that the player can go through the level.

How to use it

Drag the Player Path Tool into your scene. The prefab is located in 'Assets/LevelKit/Tools/PlayerPathTool.prefab'.

The player Path Tool has automatically created a new path called PlayerPath_0:

LOCK YOU TOOL

PLEASE NOTE: When the Player Path Tool is unlocked it will create a Path Point any time that you click in the scene view - which can unintentionally create a mess of path points in your scenes! Remember to use the Lock button whenever you are not using the Player Path Tool.

To begin using, press the

With the Player Path Tool in you hierarchy anywhere you click will create a Path Point

Inspector UI

Path Mode

This tool have various modes that can be selected, they're the follow:

  • Default : All the UI and functionalities are enabled
  • UI Only On Selected Path : Is only shown the UI of the selected path
  • UI Disabled : All the UI is disabled in the scene, expect the path line
  • Add Points Disabled : Disabled the creation of new points
  • Disabled : Everything is disabled, expect the path line

Default Path Color

It's the default path color when a new path it's created.

Paths

This field has all the path points information, like the position of the points, so that can be used for debugging reasons.

Default GUI Style

It's the GUI Style used for the optional points text.

Options

Add new path

This tool can contain various paths, to do that this button can add them.

Selected Path

The first parameter indicates the path selected, it can be changed in the dropdown list. Followed by that is the Remove Button, as the names imply, it removes the selected path. The following fields are:

  • Name : path name
  • Color : path line color
  • Text points : show all the path points text if it exists, the text style is determined by the 'Default GUI Style'