dguise / cgj2018

Top down twin stick rogue-like
https://4d1a.itch.io/mask-of-madness
0 stars 0 forks source link

Feat/#21 restructure resources #33

Closed maakep closed 6 years ago

maakep commented 6 years ago

Description

GitHub issue: #21 So I read up a little bit on Resources.Load and Unity seems to discourage the use of it for these reasons:

and good usages:

Which is what I've attempted here.

Source https://unity3d.com/learn/tutorials/topics/best-practices/resources-folder

How to test / set up

  1. Load any scene
  2. Verify that it has ManagerManager (and that ManagerManager is still connected to the prefab so it has gotten the new PrefabRepositry)
  3. Verify that things still seem to work as intended

Code hygiene