Welcome, Guest

Author Topic: Get current Coherent UI GT Version number progammatically?  (Read 217 times)

Lisk

  • Posts: 39
    • View Profile
    • Legion TD 2
Get current Coherent UI GT Version number progammatically?
« on: July 21, 2017, 04:23:01 PM »
Is it possible to get the version number of Coherent UI GT programmatically?

I am dealing with some compatibility issues between libraries, so I have to rollback my Coherent UI GT. I thought it would be useful in my logs to print out the version number of my plugins, so I can easily determine which plugins cause which issues.

john.v

  • Administrator
  • *****
  • Posts: 68
    • View Profile
Re: Get current Coherent UI GT Version number progammatically?
« Reply #1 on: July 24, 2017, 04:12:07 AM »
Hi Lisk,

You can see the exact version of Coherent UI GT in the Unity output log, if the logging severity (Coherent.UIGT.Severity) is set to Info or lower. Would that work for you?

John V,
Support Engineer at Coherent Labs

Lisk

  • Posts: 39
    • View Profile
    • Legion TD 2
Re: Get current Coherent UI GT Version number progammatically?
« Reply #2 on: August 23, 2017, 09:54:12 AM »
Thanks for the reply.

I would prefer it if I can programmatically get the version number, so that I can log it to my log file, rather than Unity's output_log. Is that possible?

If not, I'll just manually update the version number in a constant string.

Tags: