- Home /
approaching a new project
Hello, I've been developing for about 3 months now, and I've developed 2 apps. On my second app when I created new project it really is new, no plugins which I imported, no scripts which i wanted to re-use, had to go back to first and copy, now, my question is, if there is some sort of way or do you guys have any tips on creating a new project yet saving the common things between project (Ad plugin+script, main menu, folders I'd like to re-use) seems a waste of time to do stuff that you already set up in a different project.
Answer by DoTA_KAMIKADzE · Apr 10, 2015 at 12:30 PM
Click RMB on your main Assets folder in project view => Export package => tick what you want to export => press export => save somewhere (preferably inside assets store). That's it.
As for me I have just made a "custom non-game" project in Unity and sorted it by folders logically and export it as a single package. Now on import you can always select what you need, and everything reusable is stored in a single handy-dandy unitypackage.
P.S. Obviously thing that you got from Assets store can just be imported and don't need to be saved in your "custom" package(s) unless you modified them.
Also wanted to ask, when creating scripts like player deaths, score, and so on, should it be in separate scripts or in the player script, what's more efficient?
Depends! (e.g. for example if the score is displayed on your players head and the script is added to a player object then sure thing it can be within player script so that it can be easily maintained and takes less space, if it is shown on UI then it would be better to stick it to UI ins$$anonymous$$d, if it doesn't have monobehavior then you don't even need to add it to an object, but if the score is added to a players head and an enemies heads but they are controlled by different scripts then it would be wise to make a separate script for score and add it to both the player and the enemy object [or do it as an Interface or inherit as a base], and so on...)
Your answer
![](https://koobas.hobune.stream/wayback/20220613192716im_/https://answers.unity.com/themes/thub/images/avi.jpg)