Hello, I’m Gravitrax64. I’m new to unity and these forums and I need some help. I’m trying to make a simple 2d game in Unity and I made a sprite in Adobe Photoshop but I don’t know how to import it into my project. I was wondering how to do that so I can then work on programming it to move. I would really appreciate it if someone could help. Thanks!
One of the simplest ways is to just drag and drop from your Explorer Window into the Assets folder. (Or one of its Subfolders)
Then you can just drag the image into your scene after you’ve adjusted the Pixels Per Unit value to match the rest of your Assets in the Inspector. If you need to place the image in an exact location, you can adjust your snap settings in Edit > Grid and Snap Settings. You can change the move value to 1 / Pixels Per Unit for pixel-precise snapping.
Alternatively, you can click on Assets > Import New Asset.
I’ve found that Unity works best with PNG files.
Another cool trick too is if you have a bunch of Animation assets, if you drag them all into your scene at once Unity will create an Animation for you, but that’s beyond the scope of the question you asked.
Thank you so much. I just hope Unity will let me save my progress.
Absolutely! The free version of Unity gives you almost every feature available to the pro version! (Except for things like disabling the “Made with Unity” splash screen)
https://docs.unity3d.com/Manual/Saving.html
Any changes you make to assets will be saved automatically, (Like when you change an animation or adjust sprite properties) but in order to create reusable groupings of assets you need to save them as a Prefab. You can do this by dragging it from the Scene Hierarchy and into the Project Folder of your choice.
You can then drag it out into any Scene and reuse it as many times as you’d like!
If you make changes that you want to apply to your Prefab, you can either click on Overrides > Apply/Apply All or drag it back onto your Prefab.