GodotEnv

An asset by windastella
The page banner background of a mountain and forest
GodotEnv hero image

Quick Information

0 ratings
GodotEnv icon image
windastella
GodotEnv

Godot DotEnv ClassA simple implementation of DotEnv. Allow usage of .env file in godot. Also retrieve OS Environment Variable if available.UsageAdd `/godotenv/scripts/env.gd` to Autoloader.Retrieve Environment Variable by`var env_var = get_node("/root/env").get("ENV_VAR")`

Supported Engine Version
3.1
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

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")

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")`

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
GodotEnv icon image
windastella
GodotEnv

Godot DotEnv ClassA simple implementation of DotEnv. Allow usage of .env file in godot. Also retrieve OS Environment Variable if available.UsageAdd `/godotenv/scripts/env.gd` to Autoloader.Retrieve Environment Variable by`var env_var = get_node("/root/env").get("ENV_VAR")`

Supported Engine Version
3.1
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers