

To change the build platform in Unity, select File -> Build Settings to open the build settings window. To build the application that will be protected by Dotfuscator, first select the platform to build, then set the necessary player settings for the selected platform, and lastly build and save the Unity produced app. Step 8 will add more protection to harden the app even further. Steps 1-7 will give basic protection to the application. There are links to platform specific instructions from these general instructions when they are necessary. The general process for protecting Unity applications with Dotfuscator is the same across all the supported platforms, with the exception of a few platform specific steps. In the file menu click on Build Settings to open the build settings window.Īdd the _Complete-Game scene to the "Scenes the Build" by clicking the add open scenes button. Take a moment to play the game in the preview so you will be able to tell if anything is not working later in the protected version. Add the Asset Package: "Space Shooter tutorial"įind the _Complete-Game directory in the Assets directory of the project.Ĭlick on the _Complete-Game scene to bring it into the Scene tab, and then click the play button.This example assumes the name is SpaceShooter and the location is C:\Unity\. Give the project the a name and location to save.Create a new project by clicking on the "New" button.This will bring up the Unity window for opening projects.This guide uses the Space Shooter tutorial available on Unity's website. Build the Protected Version of the Appĭotfuscator supports Unity projects that target the following platforms:Īfter you have Dotfuscator installed you will need to set up the example project. If you are using the Mono scripting backend it is possible to use older versions of Dotfuscator. Note: These versions are required for apps made with the. Minimum Version Requirements Dotfuscator Edition If you already have Dotfuscator, please verify that you have a version that supports Unity. To do so, see Dotfuscator Editions to learn which edition is best suited for your project, and see the Dotfuscator Downloads page to get the latest version of your selected edition of Dotfuscator.
#MAKING A SHOOTER IN UNITY FOR MAC INSTALL#
You will also need to install Dotfuscator if you do not already have it. In order to follow along with these instructions you will need the Unity-supplied Space Shooter example project or you can follow along with your own project and use this guide as a reference for adding protection. You can apply these steps to each platform your app supports, creating an app with a proven, layered protection strategy, no matter what device it's running on. The following instructions will walk you through using Dotfuscator to protect apps made with Unity.
#MAKING A SHOOTER IN UNITY FOR MAC PROFESSIONAL#
Note: The following instructions cover both Dotfuscator Professional and Dotfuscator Community.
