![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Bot loader provides functions for finding and loading robots. More...
Static Public Member Functions | |
static void | SearchForRobots () |
Searchs for robots. More... | |
static Robot | LoadRobot (int index) |
Load a robot by index in robotsFound list. More... | |
static Robot | LoadRobot (string name) |
Loads a robot from robotsFound list by name. More... | |
static Robot | RandomRobot () |
Loads a random robot from the robotsFound list. More... | |
static string | RandomRobotName () |
Returns a random robot name from the robotsFound list. More... | |
Static Public Attributes | |
static List< GameObject > | robotsFound = new List<GameObject>() |
List of robots found in the Robots/ resources directory More... | |
Bot loader provides functions for finding and loading robots.
Definition at line 8 of file BotLoader.cs.
|
static |
Load a robot by index in robotsFound list.
index | Index. |
Definition at line 34 of file BotLoader.cs.
|
static |
Loads a robot from robotsFound list by name.
name | Name. |
Definition at line 44 of file BotLoader.cs.
|
static |
Loads a random robot from the robotsFound list.
Definition at line 59 of file BotLoader.cs.
|
static |
Returns a random robot name from the robotsFound list.
Definition at line 69 of file BotLoader.cs.
|
static |
Searchs for robots.
Definition at line 19 of file BotLoader.cs.
|
static |
List of robots found in the Robots/ resources directory
Definition at line 13 of file BotLoader.cs.