Assembly Definition Define Constraints & Load Stylesheet by Guid... #754
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Small update that does 2 main things:
sets define constraints in both the assembly definitions so that the assemblies are fully ignored based on the STEAMWORKS_NET define OR if in UNITY_EDITOR. This way the assembly is completely ignored even if you're on a supported platform in scenarios you're not building for steam (such as an itch.io or GoG build).
changed EditorSteamworksNETSettingsElement to load the stylesheet using the 'guid' so that it is folder agnostic of the 'Packages' folder. This way even if you have Steamworks.Net in your project Assets folder, rather than via the package manager, the UI still works.