Some AssetBundle Support.

This commit is contained in:
左右看
2022-09-27 13:41:05 +08:00
parent a63d33c7ae
commit e9100b3fe8
83 changed files with 1166868 additions and 3 deletions
+24
View File
@@ -0,0 +1,24 @@
using UnityEngine;
using UnityEditor;
class SelectAllOfTagSingle : ScriptableWizard
{
string tagName = "ExampleTag";
[MenuItem("Example/Get")]
static void SelectAllOfTagSingleWizard()
{
ScriptableWizard.DisplayWizard(
"Example/Get",
typeof(SelectAllOfTagSingle),
"Make Selection");
}
void OnWizardCreate()
{
AssetDatabase.RemoveObjectFromAsset(Selection.objects[0]);
AssetDatabase.CreateAsset(Selection.objects[0], "Assets/"+ Selection.objects[0].name + ".asset");
}
}