Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Putting Unity Analytics in a DLL

Discussion in 'Unity Analytics' started by erosales, Feb 19, 2015.

  1. erosales

    erosales

    Joined:
    Feb 18, 2015
    Posts:
    2
    Hi,

    I was wondering if i can compile Unity Analytics into a C# DLL to work with all the supported platforms.

    Thanks
     
  2. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    @erosales
    unfortunately, even if you make it into a C# DLL, that won't add support to additional platforms.
    What platform are you targeting?
    We're working on extending support for additional platforms (including standalone and web) very soon.
     
  3. erosales

    erosales

    Joined:
    Feb 18, 2015
    Posts:
    2
    @kentunity

    Hi, we are trying to get it working on android and iphone but we want to make the analytics code "hidden" so it can not be removed
     
  4. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    @erosales
    We have some native plugin files in our package that needs to be in the exact path /Assets/Plugins/PLATFORM_NAME.
    This is a Unity requirement when making platform specific native plugins, and those cannot be in a DLL.