johann_dev Posted February 19, 2018 Share Posted February 19, 2018 I'm using the Phaser Editor and I created a prefab for my player sprite, but no matter what I do I can't get it to appear in the assets window or in the options to add prefabs to my scene files. I created the Prefab by using File -> New -> Sprite Prefab. I've tried adding the associated script file to the pack.json file, I've tried loading the script in index.html, I've tried shutting down and restarting the editor but I just cant use the prefab. The prefab shows up where it's supposed to in my folder structure, and I can edit the canvas file normally. I just can't add the prefab to any of my Scenes. Link to comment Share on other sites More sharing options...
johann_dev Posted February 19, 2018 Author Share Posted February 19, 2018 Answer here: https://github.com/PhaserEditor2D/PhaserEditor/issues/71#issuecomment-366694277 Link to comment Share on other sites More sharing options...
Recommended Posts