OS.SetEnvironment Method |
Sets the value of the environment variable variable to value. The environment variable will be set for the Godot process and any process executed with Execute(String,String[], Boolean, Array, Boolean) after running SetEnvironment(String, String). The environment variable will not persist to processes run after the Godot process was terminated.
Note: Double-check the casing of variable. Environment variable names are case-sensitive on all platforms except Windows.
Namespace: Godot
public static bool SetEnvironment( string variable, string value )
[Missing <param name="variable"/> documentation for "M:Godot.OS.SetEnvironment(System.String,System.String)"]
[Missing <param name="value"/> documentation for "M:Godot.OS.SetEnvironment(System.String,System.String)"]
[Missing <returns> documentation for "M:Godot.OS.SetEnvironment(System.String,System.String)"]