![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Environment loader searches for and loads environment GameObjects from the Unity Resources folder. More...
Static Public Member Functions | |
static void | SearchForEnvironments () |
Searchs for environments. More... | |
static GameObject | LoadEnvironment (string name) |
Loads the environment. More... | |
static GameObject | RandomEnvironment () |
Loads a random environment. More... | |
static string | RandomEnvironmentName () |
Selects a random environment name. More... | |
Static Public Attributes | |
static List< GameObject > | environmentsFound = new List<GameObject>() |
Environment loader searches for and loads environment GameObjects from the Unity Resources folder.
Definition at line 9 of file EnvLoader.cs.
|
static |
Loads the environment.
name | Name. |
Definition at line 29 of file EnvLoader.cs.
|
static |
Loads a random environment.
Definition at line 45 of file EnvLoader.cs.
|
static |
Selects a random environment name.
Definition at line 55 of file EnvLoader.cs.
|
static |
Searchs for environments.
Definition at line 16 of file EnvLoader.cs.
|
static |
Definition at line 11 of file EnvLoader.cs.