Class ProjectServices
Project Services.
Warning: this class contains functions that may not work in the future since we are not using the Public Unity API.
Namespace: Unity.Industrial.Forma.Editor.UI.Service
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
public static class ProjectServices
Methods
FilterAndroidArchitecturesByScriptingImplementation(AndroidArchitecture, ScriptingImplementation)
Returns only selected and compatible architectures with the current platform and scripting implementation.
Declaration
public static AndroidArchitecture FilterAndroidArchitecturesByScriptingImplementation(AndroidArchitecture selectedAndroidArchitectures, ScriptingImplementation scriptingImplementation)
Parameters
Type | Name | Description |
---|---|---|
AndroidArchitecture | selectedAndroidArchitectures | Android Architectures to filter |
ScriptingImplementation | scriptingImplementation |
Returns
Type | Description |
---|---|
AndroidArchitecture | AndroidArchitecture |
GetCompatibleAndroidArchitecturesByScriptingImplementation(ScriptingImplementation)
Get available Android Architectures based on Scripting Implementation.
Declaration
public static IEnumerable<AndroidArchitecture> GetCompatibleAndroidArchitecturesByScriptingImplementation(ScriptingImplementation scriptingImplementation)
Parameters
Type | Name | Description |
---|---|---|
ScriptingImplementation | scriptingImplementation | Scripting Implementation |
Returns
Type | Description |
---|---|
IEnumerable<AndroidArchitecture> | IEnumerable AndroidArchitecture |
GetCurrentInputSystemHandler()
GetCurrentInputSystemHandler
Declaration
public static InputSystemHandlerType GetCurrentInputSystemHandler()
Returns
Type | Description |
---|---|
InputSystemHandlerType | InputSystemHandlerType |
GetPlayerSettings()
Get project player settings.
Note: Do not declare the invoke method as a local variable otherwise, errors will be thrown after each domain reload: "Multiple managers are loaded of type: PlayerSettings"
Declaration
public static Object GetPlayerSettings()
Returns
Type | Description |
---|---|
Object | Unity Object |
GetProjectSettings()
Get project settings.
Declaration
public static Object GetProjectSettings()
Returns
Type | Description |
---|---|
Object | Unity Object |
GetQualitySettings()
Get project player settings.
Declaration
public static QualitySettings GetQualitySettings()
Returns
Type | Description |
---|---|
QualitySettings |
SetCurrentInputSystemId(InputSystemHandlerType, Boolean)
SetCurrentInputSystemId
Declaration
public static void SetCurrentInputSystemId(InputSystemHandlerType newInputHandlerId, bool showDialog)
Parameters
Type | Name | Description |
---|---|---|
InputSystemHandlerType | newInputHandlerId | |
Boolean | showDialog |