Skip to content

SirLpc/GenerateObfuscarConfigForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

GenerateObfuscarConfigForUnity

A unity engine tool for generate general Obfuscar xml config.

The main purpose of this tool is to make sure your unity c# code work properly after confused by Obfuscar.

Usage

  1. Place ObfuscarConfigInfo.cs in your project.
  2. Create a scriptable object of ObfuscarConfigInfo.
  3. Set up some basic things. Specially, you should adapt the paths to yours in the purple box below: image
  4. Now you can generate the config or do Obfuscar from the context menu. image
  5. If all goes will, you should get a config like this: image

A sample project

https://github.com/SirLpc/GenerateObfuscarConfigForUnity_sample

Notice

You should pay attention to those name sensitve members in your class, such as a method will be used by unity delay Invoke("NameOfMethod"). At this point, you could create a custom attribule to mark a method should not be renamed, and config this attribute in the ObfuscarModuleIgnoreAttributes array in the ObfuscarConfigInfo config before.

At last, great thanks for the author of Obfuscar project :)

About

A unity engine tool for generate general Obfuscar xml config.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages