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.

Usage

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

Sha256 Hash: f74f8896c7ff1f14f78afccd7cbe73b4af6ff5cd42d3a36caf69e11f21d2a637