Core
CommandLine
Tiny "-key value" / "-flag" parser over Environment.GetCommandLineArgs.
generated from the sources
Static class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Core/CommandLine.cspublic static class CommandLineTiny "-key value" / "-flag" parser over Environment.GetCommandLineArgs.
Methods
Override
public static void Override(IDictionary<string, string> values);For tests/editor: pretend these arguments were passed.
Has
public static bool Has(string key);Get
public static string Get(string key, string fallback = null);GetInt
public static int GetInt(string key, int fallback);GetFloat
public static float GetFloat(string key, float fallback);GetBool
public static bool GetBool(string key, bool fallback);