视频
Unity Obfuscator 过滤指定目录下的所有class
源码
替换调 OptionsManager 脚本文件就可以了
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
namespace Beebyte.Obfuscator
{
public class OptionsManager
{
public const string ImportAssetName = "ObfuscatorOptionsImport";
public const string OptionsAssetName = "ObfuscatorOptions";
public const string DefaultImportPath = @"Assets/Editor/Beebyte/Obfuscator/ObfuscatorOptionsImport.asset";
public const string DefaultOptionsPath = @"Assets/Editor/Beebyte/Obfuscator/ObfuscatorOptions.asset";
public static Options LoadOptions( )
{
if ( HasInstallFiles( ) ) Install( );
Options o = LoadAsset( OptionsAssetName );
if ( o != null )
{
Obfuscator.FixHexBug( o );
return o;
}
Debug.LogError( "Failed to load " + OptionsAssetName + " asset at " + DefaultOptionsPath );
return null;
}
[MenuItem( "Tools/Foreach SYFrameWork Class to Opf skip", false, 99 )]
pu