@@ -18,6 +18,7 @@ public static class SampleSetup
1818        private  const  string  CANCEL_BUTTON_TEXT  =  "Cancel" ; 
1919
2020        private  const  string  RPM_WEBGL_SCREEN_SHOWN_KEY  =  "rpm-webgl-screen-shown" ; 
21+         private  const  string  TEMPLATE_PATH  =  "WebGLTemplates" ; 
2122        private  const  string  FILE_NAME  =  "ReadyPlayerMe.Core.WebGLSample.asmdef" ; 
2223        private  const  string  PLUGINS_FOLDER  =  "Plugins" ; 
2324        private  const  string  WEBGL_HELPER_PATH  =  "WebGlHelper" ; 
@@ -77,28 +78,30 @@ private static string GetSampleRootFolder()
7778        } 
7879
7980        private  static void  MoveFolder ( string  sourcePath ,  string  destinationPath ) 
80-     	 { 
81-         	 // Extract the last part of the source path (e.g., "Plugin") 
82-         	 string  sourceDirectoryName  =  new  DirectoryInfo ( sourcePath ) . Name ; 
81+          { 
82+              // Extract the last part of the source path (e.g., "Plugin") 
83+              var  sourceDirectoryName  =  new  DirectoryInfo ( sourcePath ) . Name ; 
8384
84-         	 // Append the source directory name to the destination path 
85-         	 string  newDestinationPath  =  Path . Combine ( destinationPath ,  sourceDirectoryName ) ; 
85+              // Append the source directory name to the destination path 
86+              var  newDestinationPath  =  Path . Combine ( destinationPath ,  sourceDirectoryName ) ; 
8687
87-         	 // Check if the source directory exists 
88-         	 if  ( ! Directory . Exists ( sourcePath ) ) 
89-         	 { 
90-             	 throw  new  DirectoryNotFoundException ( "Source directory does not exist or could not be found: "  +  sourcePath ) ; 
91-         	 } 
88+              // Check if the source directory exists 
89+              if  ( ! Directory . Exists ( sourcePath ) ) 
90+              { 
91+                  throw  new  DirectoryNotFoundException ( "Source directory does not exist or could not be found: "  +  sourcePath ) ; 
92+              } 
9293
93-         	 // If the destination directory doesn't exist, create it 
94-         	 if  ( ! Directory . Exists ( destinationPath ) ) 
95-         	 { 
96-             	 Directory . CreateDirectory ( destinationPath ) ; 
97-         	 } 
94+              // If the destination directory doesn't exist, create it 
95+              if  ( ! Directory . Exists ( destinationPath ) ) 
96+              { 
97+                  Directory . CreateDirectory ( destinationPath ) ; 
98+              } 
9899
99-         	// Move the entire source directory to the new destination 
100-         	Directory . Move ( sourcePath ,  newDestinationPath ) ; 
101-     	} 
100+             // Move the entire source directory to the new destination 
101+             Directory . Move ( sourcePath ,  newDestinationPath ) ; 
102+             SDKLogger . Log ( TAG ,  $ "Moved folder and contents from { sourcePath }  to { newDestinationPath } ") ; 
103+             AssetDatabase . Refresh ( ) ; 
104+         } 
102105
103106        private  static void  SetWebGLTemplate ( ) 
104107        { 
0 commit comments