Skip to content

Commit f8a0613

Browse files
committed
Fix client builds with locator
1 parent 2b7e961 commit f8a0613

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Assets/UdonSharp/Editor/Updater/UdonSharpDataLocator.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Collections.Generic;
44
using UnityEngine;
55
using System.IO;
6-
using Codice.Client.BaseCommands.Fileinfo;
76
using FileInfo = System.IO.FileInfo;
87

98
#if UNITY_EDITOR
@@ -47,14 +46,15 @@ public static string GetDataPath()
4746
throw new System.PlatformNotSupportedException("Cannot get UdonSharp data path outside of the Editor runtime");
4847
#endif
4948
}
50-
49+
50+
#if UNITY_EDITOR
5151
private static string GetUtilitiesPath(UdonSharpDataLocator locator)
5252
{
5353
string locatorPath = AssetDatabase.GetAssetPath(locator);
5454

5555
return Path.Combine(Path.GetDirectoryName(locatorPath), "UtilityScripts");
5656
}
57-
57+
5858
private static UdonSharpDataLocator InitializeUdonSharpData()
5959
{
6060
if (!AssetDatabase.IsValidFolder(Path.GetDirectoryName(DEFAULT_DATA_PATH)))
@@ -75,6 +75,7 @@ private static UdonSharpDataLocator InitializeUdonSharpData()
7575

7676
return locator;
7777
}
78+
#endif
7879

7980
private static void DeepCopyDirectory(string sourcePath, string destinationPath)
8081
{

0 commit comments

Comments
 (0)