Search Unity

  1. Unity 2019.2 is now released.
    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:
    9
    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?