How to store a GameObject in an AssetBundle and this on harddisk/webserver via editor script?
Newbie question. Sorry. Can´t find a solutiuon.
Situation: User clicks menu, editor script runs and should finally "export" a GameObject on harddisk/webserver
Details: Problem is that I have a GameObject somewhere in the hierachy, but NOT in/under the Assets/ path. Idea is: GameObject -> prefab -> AssetBundle -> save on harddisk or even better save it on webserver. Are there steps missing, like creating a "temp" asset?
Thanks in advance!
Answer by UweR7 · Aug 12, 2017 at 05:56 PM
lol ... learned that i have to store it under "Assets/prefabs" and not "Assets/somethingelse" ... lol
Your answer
Follow this Question
Related Questions
Editor script: Variable created on gameObject in editor set to missing on runtime 0 Answers
How can I get a reference to a Prefab in the Asset folder without instantiating it? 2 Answers
Editorscript: How to reference prefabs in editor not in awake or start 0 Answers
PrefabUtility.CreatePrefab() results in "not a valid asset file name" error? 2 Answers
How to store a prefab in an AssetBundle dynamically by an Editor Script? 1 Answer