Crawls Unity Scripting Reference to index class variables and functions. In this version of the crawler the reference is read locally from a Unity installation.
This data is used for the generation of Unity Completions and Unity Completions Light, two plugins for Sublime Text which provides auto-completion.
The output file unity.pkl is included for convenience.
Output file is a pickle with the following hierarchy:
- Dictionary by section (e.g., "Runtime Classes", "Runtime Attributes")
- Dictionary by class name
- Dictionary by class member name
- List of definitions (for functions) or None (for variables).
Function definition is a dictionary with the following keys:- "template" - Template postfix if relevant (e.g. ".") or None
- "params" - List of function parameters, which are dictionaries with the following keys:
- "name" - Name of parameter (could be None)
- "type" - Type of parameter
- "default" - Default value or None
- "returnType" - Return type
- List of definitions (for functions) or None (for variables).
- Dictionary by class member name
- Dictionary by class name
[This section is out of date]
The following sections are retrieved:
- UnityEngine Classes, Interfaces, Attributes and Enumerations
- UnityEditor Classes, Interfaces, Attributes and Enumerations
- Other Classes