This repository contains a modified version (without the tutorial) of the TrashCat Unity project for the Endless Runner - Sample Game
- use
git submodule update --initcommand to pull the git submodule; - use
git submodule update --remotecommand to get the latest version of AltTester Unity SDK; - make sure that the submodule added is on the master branch (you can use the following command
git checkout masterin the Assets/AltTester-Unity-SDK folder); - also, if you already have the project, you should make a
git pullon the master branch, in order to ensure that you are using the latest version of AltTester.
Before creating a build instrumented with AltTester Unity SDK or playing in the AltTester Editor window
The assets of this project are structured as an Addressable Asset System. This calls for a separate Addressable build, before building the application itself. Just select Default Build Script to start it.
- Unity Editor ->
Window->Asset Management->Addressables->Groups - Select from
Build->New Build->Default Build Script
There might be a situation when building on iOS that in XCode there is an error for Redefinition of 'AllocCString'.This is not related to AltTester though.
- In this case the solution is to comment the line
#import <Unity/UnityInterface.h>at the beggining of these files generated in the build folder../YourAppFolder/YourAppName/Libraries/com.unity.ads/Plugins/iOS/UnityAdsUnityWrapper.m../YourAppFolder/YourAppName/Libraries/com.unity.ads/Plugins/iOS/UnityMonetizationDecisionWrapper.m