Unity – Export prefab with dependencies

Sometimes your prefab has dependencies and you want to create a nice unity package to be able to use it in another project.

Example: If you want to export your playerPrefab, right click on it and select dependencies. Right-click again and export package. Uncheck include dependencies.

Source: http://answers.unity3d.com/questions/346823/is-the-asset-export-function-broken.html

Gitignore for Unity projects


 

# =============== #
# Unity generated #
# =============== #
Temp/
Library/

# ===================================== #
# Visual Studio / MonoDevelop generated #
# ===================================== #
ExportedObj/
obj/
*.svd
*.userprefs
/*.csproj
*.pidb
*.suo
/*.sln
*.user
*.unityproj
*.booproj

# ============ #
# OS generated #
# ============ #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
test.apk


Read More