Updated to work with Unity 2019.1 - #1
Open
MaDDoXbr wants to merge 13 commits into
Open
Conversation
Version 1.5.9 (Updated by @BrenoAzevedo) * Updated to work with Unity 2019.1 * Replaced obsolete ExpectedExceptionAttribute calls according to nunit/nunit#799 * Fixed obsolete Application.isWebPlayer and WebPlayer calls, now use WebGL instead
The main goal for FindResourceOfType is to reliably find a derived ScriptableObject type within a Resources folder, preventing direct (drag-and-drop) references. It could be argued that, with the new nested Prefabs system, one could do the same with the provider object being tied to a Prefab. Nevertheless, being code-only, I'll argument that FindResourceOfType is safer - although slower on boot times, since internally it uses Resources.LoadAll. A good / moderate usage of the convenience attribute would be, for instance, a GameData scriptableObject which holds references to all other Scriptable Assets in the project.
* Re-added [FindResourceOfType] to the project * Removed UnityTestTools folder (not compatible with 2021.1 due to VS/mscorlib conflicts). The UnityTest scene might not work as a result.
* SceneInjector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Version 1.5.9