Search Unity

How do you integrate external libraries like sharpNPL?

Discussion in 'Getting Started' started by A4L, Dec 3, 2018.

  1. A4L

    A4L

    Joined:
    Nov 26, 2018
    Posts:
    13
    I'm looking to integrate a external library called SharpNLP (or maybe StanfordNPL). SharpNPL is a c# version of a Javascript project I think, but it is in itself native C# code.

    Anyway.. I can not seem to see any way to add "includes" or w/e... (as far as my limited skills allow).

    So yeah.. dose anyone know how I would go about integrating sharpNPL into my project?
     
    Brahman-Intelligence likes this.
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    If it's native C# code, just put it somewhere under your Assets folder. Done.

    C# doesn't need "include" or similar; everything in your project is immediately accessible. You sometimes want to use a #using clause to import a namespace (as you're already doing with UnityEngine, System.Collections, etc.), but this is not necessary.
     
  3. Brahman-Intelligence

    Brahman-Intelligence

    Joined:
    Jan 14, 2015
    Posts:
    4
    I tried to do that. It may work, but then it stops working for unknown reasons. I decided to use SharpNLP outside of Unity.