Table of Contents

Class UnityProjectInfo

Namespace
Homa.Sdk.Foundation.Editor
Assembly
Homa.Sdk.Foundation.Editor.dll

Provides thread-safe access to Unity properties which are static, but for some reason call engine code and can only be called from main thread. Contrary to ApplicationInfo this class provides information that is only relevant for Editor code

[InitializeOnLoad]
public static class UnityProjectInfo
Inheritance
UnityProjectInfo
Inherited Members

Remarks

Keep in mind, that this class needs to be initialized only once, regardless of soft restart. No properties in this class will change values w/o full app restart.

Fields

EditorProjectPath

Path to the Unity Editor project

public static readonly string EditorProjectPath

Field Value

string