File tree Expand file tree Collapse file tree
Assets/UdonSharp/Editor/Updater Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33using System . Collections . Generic ;
44using UnityEngine ;
55using System . IO ;
6- using Codice . Client . BaseCommands . Fileinfo ;
76using 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 {
You can’t perform that action at this time.
0 commit comments