Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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:
    16
    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:
    48
    Looking for same!! did you find any solution? @BobbyDoogle