How do I export whole Unity project with all scenes? - unity3d

I want to export my Unity project as a ZIP folder, but I can't. When I click on Asset > Export Packages, only one scene gets exported. I want to export the project so that I can send it.

You can zip the Assets folder and ProjectSettings folder and ignore all other files and directories.
You don't need Library and Obj folder. They get created automatically.
The project files (.csproj) and similar files also get created automatically.
Alternatively you can export the whole project as a package:
Use Export Package to create your own Custom Package.
Open the project you want to export assets from.
Choose Assets > Export Package… from the menu to bring up the Exporting Package dialog box.
In the dialog box, select the assets you want to include in the package by clicking on the boxes so they are checked.
Leave the include dependencies box checked to auto-select any assets used by the ones you have selected.
Click on Export to bring up File Explorer (Windows) or Finder (Mac) and choose where you want to store your package file. Name and save the package anywhere you like.

Just save your scene and project and close unity and simply copy the project folder or make an archive of that main project folder and copy it. (Closing Unity is an important step because all temporary files are deleted which were opened)
And about the file size, yes generally they are bigger if you have used high quality models or textures. You can try building it for a platform like Android or Windows etc. and send that executable build to somebody else (usually smaller file size).
P.S: Have tested it before and works like a charm.

For Unity 2017.2+ with package manager
Save all your files
Close Unity
Make an archive that contains Assets, Packages and ProjectSettings folders
That's it, Have a nice day!

Related

Inspector not Showing Scripts in Multiple Versions of Unity

I have recently started learning VR on udacity, and when I use unity, no scripts show up in the inspector. When I use 5.6.1p2, I get this message.
Here is the console tab
I recently installed a beta version of unity, as referred to by a mentor, and there is no longer an error message, but the scripts simply do not appear
Problem resolved:
After putting course assets into a new folder, and extracting them, all dependencies were accessible within unity. Library was rebuilt with all required dependencies, and project is completed and working.
To open the project, I opened unity first, and used the open project button to select the folder including the assets, library, and temp folders. When I opened through the assets folder, the library wasn't complete, therefor not all components and dependencies were accessible.
Sometimes Unity not show folders with corrupted meta file. just delete meta file with this folder name

How to open downloaded project?

I've downloaded example project in defold site. it's zip file, how to import it to defold? Do I must create new project and drag all file into it?
Sorry if this is beginner question, thank before.
I assume you mean these example projects?
If so, follow these steps:
Create a new project in Defold (from dashboard.defold.com) and open it in the editor
Right-click
"game.project" in the Project Explorer and select Show in Finder
(Mac) or Show in Explorer (PC)
Download and unpack the examples
archive you want
Drag the contents of the archive to the location of
the new project in the Finder/Explorer and replace the files in the
project The editor will pick up the new files and you are ready to
go
Alternatively you can add a project as a library dependency in your project ('importing' the files for read-only use). If so – add the zip url to the "dependencies" in the project section in "game.project" in Defold. See more about library usage here.
When you open a project for the first time or download, you need to create a "branch", whch is a copy of the project on your computer. Click "New branch" and name your local working copy (like "my work" or similar).
Also Check Your project compatiboly woth your OS Linux/ Windows and 32 bit or 62 bit.
You can learn basic thing from here .
http://www.defold.com/tutorials/getting-started/
Make sure you are using the latest editor and make sure to clear your browser cache.

Best way to open phonegap project created with CLI in eclipse

When I create a phonegap folder structure via the CLI (3.0), how do I open this in Eclipse?
When I choose project [New] - [Android project from existing code], the assets are taken from the platforms/android folder. But I need to change the html and js of the top folder (www). These are the files that are being used when I build the project to other platforms (via CLI or build.phonegap).
Now I change the assets in the editor of the eclipse environment and then manually copy paste the content to the files under www.
Actually PhoneGap project structure and Eclipse project structure are somewhat different. But they work in a similar way. If you want to create phonegap project in eclipse then you have to create html,js,css within asset/www folder. The java source files will be within src folder(as usual).
If you want to create project without eclipse like with command phonegap/cordova create MyApp, then you will get all java source file within project/platform/android folder and html,js,css in www folder which is auto-created. On the other hand in eclipse you have to create this www folder manually.
But project is compiled in a same way whether it is created in eclipse(IDE) or in other text editor.
I have experience in both Eclipse and Text Editor(SublimeText,Vim). I prefer Text Editor because Eclipse sometime creates problem and it needs some extra things like creating www folder and place all scripts,templates,css etc manually.
If anyone whan to go with CLI, then I think SublimeText,Vim,gEdit etc are the best choice for coding.

Trying to add png files to Midlet project in netbeans

I'm creating a app for nokia using Netbeans v7. I cannot figure out how to add files to the project, such as graphic images. Also I do not see a res folder like eclipse has.
I'm assuming there must be a way to do this
-Ted
Create res folder in the project folder and put the files in that folder, It's action will be same as eclipse.

Is there a way to make NetBeans hide specific files/folders?

I'm working on a joomla project and for debugging/type hinting/auto-complete have my whole joomla install as a project. Is there a way I can hide the folders I don't need in file or project view?
Ideally I would have a project that scans all of the folders but simply displays this:
administrator
components
com_myproject
(display all files under this)
components
com_myproject
(display all files under this)
You can hide any directories you'd like in Netbeans 6.9.1. Right click on the project, select properties, and select the "Ignored Folders" category. In this section you can add all the directories you don't want to see.
No, you cannot do it with NetBeans like this.
However, you can do it little differently... this is going to be component development.
Basically for every custom component you will need to have a separate project.
Create project with folder structure like Joomla
|
|-administrator
|-componnets
|-my_component
|
|-componnets
|-my_component
After this step, right click the project and go into properties. In the properties go to PHP Include Path, map path to Joomla directory, this is what is going to give you autocomplete feature for Joomla code.
Also, to improve auto-complete for Joomla, go to Tools->Properteis->Editor->Code Copletion
Select PHP from language drop down.
Check Also Non-Static methods after ::, this will give your auto-complete for methods like JFactory::getDBO(), etc...
Obviously it makes it hard to test right now, because component is not inside of Joomla... and copying it manually makes it a hassle. Go to project properties (right click project->properties) and enabled "copy files from Sources Folder to another location" and math the path. NetBeans will no allow you to setup copy into existing directory, workaround is simple.
Setup copy support into temp direcotry /tmp
In NetBeans windows, go to Files of your component project
Expand the nbproject node
Open project.properties
Manually modify the copy path
If you want something more advanced and runt test's, you can use Ant and create build.xml files. Read more about it on Sun's blog about NetBeans PHP and Ant.
Heres a video that will help u to do the same using netbeans IDE. Keeping yout component file into a seperate directory and do the development making full use of IDE features using the Apache ANt build procedures.
The Ant build file.
http://docs.joomla.org/Building_Joomla_Extensions_with_Apache_Ant
The video to help you setup netbeans for component development.
http://www.vimeo.com/13167176