forked from sschmid/Entitas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unity3D.props
33 lines (29 loc) · 1.12 KB
/
Unity3D.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<Project>
<Choose>
<When Condition="$([MSBuild]::IsOsPlatform(Windows))">
<PropertyGroup>
<OSApplicationPath>C:/Program Files</OSApplicationPath>
<UnityManagedPath>Editor/Data/Managed</UnityManagedPath>
</PropertyGroup>
</When>
<When Condition="$([MSBuild]::IsOsPlatform(OSX))">
<PropertyGroup>
<OSApplicationPath>/Applications</OSApplicationPath>
<UnityManagedPath>Unity.app/Contents/Managed</UnityManagedPath>
</PropertyGroup>
</When>
<When Condition="$([MSBuild]::IsOsPlatform(Linux))">
<PropertyGroup>
<OSApplicationPath>$([System.Environment]::GetFolderPath('System.Environment+SpecialFolder.UserProfile'))</OSApplicationPath>
<UnityManagedPath>Editor/Data/Managed</UnityManagedPath>
</PropertyGroup>
</When>
</Choose>
<PropertyGroup>
<UnityHubPath>$(OSApplicationPath)/Unity/Hub/Editor</UnityHubPath>
</PropertyGroup>
<PropertyGroup>
<UnityEnginePath>$(UnityManagedPath)/UnityEngine.dll</UnityEnginePath>
<UnityEditorPath>$(UnityManagedPath)/UnityEditor.dll</UnityEditorPath>
</PropertyGroup>
</Project>