From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- .../Plugins/Editor/DoCreateFunction.cs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/DoCreateFunction.cs (limited to 'Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/DoCreateFunction.cs') diff --git a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/DoCreateFunction.cs b/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/DoCreateFunction.cs deleted file mode 100644 index 791b7588..00000000 --- a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/DoCreateFunction.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda - -using UnityEditor; -using UnityEditor.ProjectWindowCallback; -namespace AmplifyShaderEditor -{ - public class DoCreateFunction : EndNameEditAction - { - public override void Action( int instanceId, string pathName, string resourceFile ) - { - UnityEngine.Object obj = EditorUtility.InstanceIDToObject( instanceId ); - AssetDatabase.CreateAsset( obj, AssetDatabase.GenerateUniqueAssetPath( pathName ) ); - AmplifyShaderEditorWindow.LoadShaderFunctionToASE( (AmplifyShaderFunction)obj, false ); - } - } -} -- cgit v1.1-26-g67d0