对战界面&3d模型

This commit is contained in:
lishuo committed 2022-04-22 18:24:56 +08:00
1 parent 4665feab7c
commit 597929cd32
130 files changed
+48220 -20627

No files matched your search

+8 -1
View File
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class ExportAssets : MonoBehaviour
public class ExportAssets : Editor
{
[@MenuItem("Juze/Build Asset Bundles")]
static void BuildAssetBundles()
@@ -12,6 +12,13 @@ public class ExportAssets : MonoBehaviour
BuildPipeline.BuildAssetBundles(Application.streamingAssetsPath, BuildAssetBundleOptions.UncompressedAssetBundle, BuildTarget.StandaloneWindows);
}
[MenuItem("GameObject/UI/PFButton", false, 100)]
static void CreatePFButtonCommand()
{
GameObject prefab = Resources.Load<GameObject>("UI/Control/PfUIButton");
GameObject game = Instantiate(prefab, Selection.activeTransform);
}
// Start is called before the first frame update
void Start()
{