VuforialFindImageAction.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //using System.Collections;
  2. //using System.Collections.Generic;
  3. //using UnityEngine;
  4. //public class VuforialFindImageAction : DefaultTrackableEventHandler
  5. //{
  6. // public string Name;
  7. // public Transform targetObj;
  8. // public int num;
  9. // public int pointObj;
  10. // public ShowObj showObj;
  11. // public int MapShowPoint;
  12. // protected override void OnTrackingFound()
  13. // {
  14. // if(targetObj == null)
  15. // {
  16. // Debug.Log(" targetObj is NULL ////////////////");
  17. // }
  18. // VuforialControl.Instance.TrackingFound(targetObj, num, pointObj);
  19. // //if (VuforialMap.Instance != null)
  20. // // VuforialMap.Instance.TargetPointShow(this);
  21. // base.OnTrackingFound();
  22. // }
  23. // protected override void OnTrackingLost()
  24. // {
  25. // VuforialControl.Instance.TrackingLost(num);
  26. // //if (VuforialMap.Instance != null)
  27. // // VuforialMap.Instance.TargetPointClose(this);
  28. // base.OnTrackingLost();
  29. // }
  30. //}
  31. //public enum ShowObj
  32. //{
  33. // ScenicSpot = 0,
  34. // Rotue = 1,
  35. // obj3D = 2
  36. //}