mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-23 01:00:16 +00:00
Update AssetBundleCollector
This commit is contained in:
@@ -250,8 +250,7 @@ namespace YooAsset.Editor
|
||||
/// </summary>
|
||||
public static void ClearAll()
|
||||
{
|
||||
Setting.AutoCollectShaders = false;
|
||||
Setting.ShadersBundleName = string.Empty;
|
||||
Setting.EnableAddressable = false;
|
||||
Setting.Groups.Clear();
|
||||
SaveFile();
|
||||
}
|
||||
@@ -333,14 +332,6 @@ namespace YooAsset.Editor
|
||||
IsDirty = true;
|
||||
}
|
||||
|
||||
// 着色器编辑相关
|
||||
public static void ModifyShader(bool isCollectAllShaders, string shadersBundleName)
|
||||
{
|
||||
Setting.AutoCollectShaders = isCollectAllShaders;
|
||||
Setting.ShadersBundleName = shadersBundleName;
|
||||
IsDirty = true;
|
||||
}
|
||||
|
||||
// 资源分组编辑相关
|
||||
public static void CreateGroup(string groupName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user