Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project structure and packaging #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aphexyuri
Copy link

No description provided.

@bdominguez
Copy link

This is very important, since Unity 5 we can have plugins in other folders than "Assets/Plugins" and the current assets structure does not have a parent folder like "Assets/GoogleAnalytics".

This is a very hard problem when you want to update or remove the asset because if it's not in it's own folder structure you don't know what files correspond to what asset.

"Assets/Plugins",

//GoogleAnalyticsV3 - root
"Assets/GoogleAnalyticsV3/Field.cs",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public static void Export()
{
Debug.Log("Google Analytics Package...");
AssetDatabase.ExportPackage(new string[] {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug.Log("Google Analytics Package...");
AssetDatabase.ExportPackage(new string[] {
//Plugins
"Assets/Plugins",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


public class ExportPackage
{
[MenuItem("Assets/Export Google Analytics Package", false, 301)]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants