See the SDK Documentation for more information. This happens when you export an Ad hoc version of your iOS app. Public class mainCameraScript : MonoBehaviour Here is the code, for easy copy-pasting: using UnityEngine You can find your app token in the Account Settings page. Type in the name of the script, for example mainCameraScript, and click on Create and Add.Įdit the newly created CSharp script, add using TestFairyUnity to the import section, and a call to TestFairy.begin() with your app token. TestFairy is a singleton so no harm is done.Ĭlick Add Component again, and select a Script component. Note: you can add the TestFairy script to any game object. To use the TestFairy Unity SDK, click mainCamera in Hierarchy and in the Inspector click Add Component. For information on the properties this file can contain, see Gradle property files. Unity specifies the path to SDK and NDK here so that by default, the exported Gradle project uses the same SDK and NDK that the Unity Editor used. In the Import Unity Package window, first click All to include the TestFairy SDK in your app. A standard Android Gradle project file that configures the environment of the build system. In your open Unity project, navigate to Assets -> Import Package -> Custom Package The steps in this section are an example of how to add the TestFairy Unity SDK to your Unity project.įrom the TestFairy Unity SDK GitHub page, download the latest version of the unitypackage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |