A* Pathfinding Project  4.3.8
The A* Pathfinding Project for Unity 3D
Progress Struct Reference

Progress info for e.g a progressbar. More...

Detailed Description

Progress info for e.g a progressbar.

Used by the scan functions in the project

See also
AstarPath.ScanAsync

Public Member Functions

 Progress (float progress, string description)
 
Progress MapTo (float min, float max, string prefix=null)
 
override string ToString ()
 

Public Attributes

readonly string description
 Description of what is currently being done. More...
 
readonly float progress
 Current progress as a value between 0 and 1. More...
 

Constructor & Destructor Documentation

◆ Progress()

Progress ( float  progress,
string  description 
)

Member Function Documentation

◆ MapTo()

Progress MapTo ( float  min,
float  max,
string  prefix = null 
)

◆ ToString()

override string ToString ( )

Member Data Documentation

◆ description

readonly string description

Description of what is currently being done.

◆ progress

readonly float progress

Current progress as a value between 0 and 1.


The documentation for this struct was generated from the following file: