Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Vuforia edit scripts referencing standard project scipts

Discussion in 'AR/VR (XR) Discussion' started by BobbyDoogle, Feb 25, 2019.

  1. BobbyDoogle

    BobbyDoogle

    Joined:
    Dec 3, 2013
    Posts:
    15
    We were in the process of attempting to edit DefaultTrackableEvent, a script provided by Vuforia for custom integration. However, we could not import our custom class, even if we assigned a namespace manually. We have a class Fader.cs
    ```
    public class Fader : MonoBehaviour {}
    ```

    Vuforia cannot find Fader class. I've also tried:
    ```
    namespace myNamespace {
    public class Fader : MonoBehaviour {}
    }
    ```
    Vuforia can't find this, with using myNamespace, and other using refs. How would I reference a standard script from Vuforia. In other C# projects you would need to add a project reference, but this doesn't seem to be possible in Unity.

    Thanks for any tips,
     
  2. vanshika1012

    vanshika1012

    Joined:
    Sep 18, 2014
    Posts:
    46
    Looking for same!! did you find any solution? @BobbyDoogle
     
unityunity