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

Cant use Global Variable in DefaultTrackableventHandler.cs

Discussion in 'Vuforia' started by KRSBX, Dec 20, 2018.

  1. KRSBX

    KRSBX

    Joined:
    Nov 18, 2016
    Posts:
    10
    So I've been making a global variable (with the public static variable) and i put it in one script, globVar.cs
    upload_2018-12-20_21-26-30.png
    But, after i update my Vuforia, i can't use it in DefaultTrackableEventHandler.cs . Could someone help me out? Before i update the Vuforia, it works perfectly just fine, but after updating it, it became like that and i got this error in console:
    upload_2018-12-20_21-28-6.png
     

    Attached Files:

  2. Yen-LiangWu

    Yen-LiangWu

    Joined:
    Apr 27, 2018
    Posts:
    1
    I have the same problem,
    Could someone solve the problem?
     
unityunity