Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
using UnityEditor;
|
||||
|
||||
namespace Unity.VisualScripting.Analytics
|
||||
{
|
||||
class FlowMacroSavedEvent : UnityEditor.AssetModificationProcessor
|
||||
{
|
||||
static string[] OnWillSaveAssets(string[] paths)
|
||||
{
|
||||
foreach (string path in paths)
|
||||
{
|
||||
var assetType = AssetDatabase.GetMainAssetTypeAtPath(path);
|
||||
if (assetType == typeof(ScriptGraphAsset))
|
||||
{
|
||||
UsageAnalytics.CollectAndSend();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return paths;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 444c595f4f0d649eba2094c40baf48cf
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Add table
Add a link
Reference in a new issue