Publisher
windastella
GodotEnv
Godot DotEnv Class
A simple implementation of DotEnv. Allow usage of .env file in godot. Also retrieve OS Environment Variable if available.
Usage
Add /godotenv/scripts/env.gd to Autoloader.
Retrieve Environment Variable by
var env_var = get_node("/root/env").get("ENV_VAR")
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Godot DotEnv Class
A simple implementation of DotEnv. Allow usage of .env file in godot. Also retrieve OS Environment Variable if available.
Usage
Add /godotenv/scripts/env.gd to Autoloader.
Retrieve Environment Variable by
var env_var = get_node("/root/env").get("ENV_VAR")