Loading a visual prefab during runtime — Addressables vs Resources

Given this, it seems like I should use Addressables

Identifier for spells

Where is my ID being used?

  1. When I parse through JSON file and create the spell, I will also create the ID
  2. This ID will be distributed to several places:
    1. A map will hold ID as the key and the spell as the value
    2. Player spell slots will have a subset of the IDs
    3. Casting the spell requires passing the ID to get the prefab

It seems like my use for the ID is to pass it everywhere and get the spell prefab. The only times my spell should be passed is in helper or utility functions.

In this case, I should use Guid as the identifier and ensure I have utility functions to help debug when necessary.

Keybindings