PlayerSettings.bundleVersion = String.Format("1.0.", manifest.GetValue("buildNumber", "unknown")) Public class CloudBuildHelper : MonoBehaviour For more info about pre-export methods, see documentation on Pre- and Post-export methods. The following example C# code demonstrates a pre-export method that updates the bundleVersion in PlayerSettings based on the buildNumber provided in the manifest. ![]() It is an optional parameter to the pre-export invoked by Unity Cloud Build, if the UnitåloudBuildManifest.json TextAsset has not been written. BuildManifestObject is a ScriptableObject that you can use to access the values in the Build manifest via script, without needing to manually load the UnitåloudBuildManifest.json TextAsset.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |