Search Unity

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,