// Use this for initialization
 void Start()
 {
     //_digiModule.Form.GetEntry ("Nuts").Value = true.ToString();
     //_digiModule.ApplyForm ();
     UnityARSessionNativeInterface.ARImageAnchorAddedEvent   += AddImageAnchor;
     UnityARSessionNativeInterface.ARImageAnchorUpdatedEvent += UpdateImageAnchor;
     UnityARSessionNativeInterface.ARImageAnchorRemovedEvent += RemoveImageAnchor;
     _product = _store.GetProducts().Where(x => x.ImageName == prefabToGenerate.name).FirstOrDefault();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     _product = _store.GetProducts().Where(x => x.ImageName == gameObject.name).First();
 }