playMaker

Author Topic: Get Bundle version inside the application  (Read 122 times)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 652
    • View Profile
Get Bundle version inside the application
« on: June 06, 2021, 01:57:18 PM »
Preferably on mobile (iOS/Android) but also for PC/Mac.
Should use PlayerSettings.bundleVersion but I'm not sure if this is accessible by Playmaker and if this can be reached at runtime, inside the application, on the device (not emulator or editor).
Would it work if the script included:
Code: [Select]
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
?