By TieredWorldStudios
on Thu, 09/27/2018 - 20:31
I have a script that has a static class that holds player data.
When I am trying to access the script from other scripts it works but when i try to access the script from Vuforia DefaultTrackableEventHandler it says it does not exist in the current context.
public static class PlayerData
{
private static bool isVisible = false;
public static bool ISVISIBLE
{
get
{
return isVisible;
}
set
{
isVisible= value;
}
}
}