{"repo":"pschraut/UnityCommandLine","free":true,"listed":false,"github":"https://github.com/pschraut/UnityCommandLine","clone":"git clone https://github.com/pschraut/UnityCommandLine.git","description":"A command-line parser for Unity 2019.3 and newer in the style of PlayerPrefs.","language":"C#","stars":58,"topics":["unity","unity3d","unity3d-plugin","gamedev"],"license":"MIT","category":"game-templates","readme_excerpt":"CommandLine for Unity The CommandLine for Unity package provides the ability to query key-value pairs, very similar to Unity's PlayerPrefs API. The CommandLine options can be stored in a text file, for example: In order to query if is set, you use: The first argument represents the key. The second argument, in this case , represents the default value that is returned, if the key could not be found in the commandline. CommandLine supports the following types: (use quotes to provide strings with spaces) CommandLine supports C-like comments in your text file: Installation As of Unity 2019.3, Unity supports to add packages from git through the Package Manager window. In Unity's Package Manager, choose \"Add package from git URL\" and insert one of the Package URL's you can find below. Package URL's Version Link ---------- --------------- 1.3.0 https://github.com/pschraut/UnityCommandLine.git#1.3.0 1.2.0 https://github.com/pschraut/UnityCommandLine.git#1.2.0 1.1.0 https://github.com/pschraut/UnityCommandLine.git#1.1.0 1.0.0 https://github.com/pschraut/UnityCommandLine.git#1.0.0 Credits If you find this package useful, please mention my name in your credits screen. Something like \"CommandLine by Peter Schraut\" or \"Thanks to Peter Schraut\" would be very much appreciated. Integration Create a text file in your project that is used to provide commandline options. I prefer , but you can use any path you like. Load the commandline file using your favorite API during application/game start","default_branch":null,"files":null,"tree":[],"storefront":"/r/pschraut","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pschraut/UnityCommandLine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}