Added script
This commit is contained in:
17
Assets/Editor/CreateSolution.cs
Normal file
17
Assets/Editor/CreateSolution.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
#if UNITY_EDITOR
|
||||
using Microsoft.Unity.VisualStudio.Editor;
|
||||
using UnityEditor;
|
||||
|
||||
namespace GitTools
|
||||
{
|
||||
public static class Solution
|
||||
{
|
||||
public static void Sync()
|
||||
{
|
||||
ProjectGeneration projectGeneration = new ProjectGeneration();
|
||||
AssetDatabase.Refresh();
|
||||
projectGeneration.GenerateAndWriteSolutionAndProjects();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user