Added script
This commit is contained in:
8
Assets/Editor.meta
Normal file
8
Assets/Editor.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e01322a7098f28e45886c817e37337b5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
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
|
||||
11
Assets/Editor/CreateSolution.cs.meta
Normal file
11
Assets/Editor/CreateSolution.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5deafa746aeb89e459b500f7ff3ec2dd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user