- Home /
dictionary of words (as a key) and fbx files (as a value)
how to make a dictionary of words (as a key) and fbx files (as a value) ?
Technically you don't. You put them in your resources folder and make a Dictionary<string, string>
the first string type is your key, the second is the file path and name of the FBX file IN YOUR RESOURCES FOLDER.
Answer by UnityCoach · Apr 02, 2017 at 07:37 PM
fbx is simply an asset format, there's no type for it. So, if you want to use it at runtime, you can create a dictionary of string and gameObject, if in editor, you can do a dictionary of string and string (for the asset path).
Your answer
Follow this Question
Related Questions
Import 3D model into game through code??? 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
What's more efficient - ordering a list, or finding the smallest value? 2 Answers