GodotEnv's icon

GodotEnv 1.0.1 Misc 3.1 Community

Submitted by user windastella; MIT; 2019-11-22

Godot DotEnv Class

A simple implementation of DotEnv. Allow usage of .env file in godot. Also retrieve OS Environment Variable if available.


Add `/godotenv/scripts/env.gd` to Autoloader.

Retrieve Environment Variable by

`var env_var = get_node("/root/env").get("ENV_VAR")`

View files Download Submit an issue Recent Edits