XRTK / com.xrtk.core

The Official Mixed Reality Framework for Unity
https://xrtk.io
MIT License
309 stars 34 forks source link

Feature Request: Runtime APIs to get the version of each XRTK module in use #648

Closed FejZa closed 3 years ago

FejZa commented 4 years ago

XRTK - Mixed Reality Toolkit Feature Request

Is your feature request related to a problem? Please describe

For testing and debugging as well informative purposes there should be a convenient way for developers to get the version in use for each XRTK module active when the application is running, e.g.

XRTK.Core v0.2.0 XRTK.SDK v0.2.0 ...

How would you classify your suggestion

Describe the solution you'd like

I can imagine this being an API of MixedRealityToolkit itself, e.g.

public string[] MixedRealityToolkit.Versions { get; private set; }

StephenHodgson commented 4 years ago

I wonder if there's a way to get this from the Unity package APIs

StephenHodgson commented 3 years ago

@FejZa I was doing some research into this. We should be able to set the assembly version based on the asmdef. I'll see if we can automate this somehow.