Skip to content

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