12345678910111213141516171819202122232425262728293031 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- //using Vuforia;
- public class SyncPosForGround : MonoBehaviour//DefaultTrackableEventHandler
- {
- public Transform ChildPos = null;
- public bool isScan = false;
- /*
- protected override void OnTrackingFound()
- {
- if(!isScan)
- {
- MessageCenterController.Instance.Broadcast(GameEnum.MESSAGE_VUFORIA_SYNC_POS, ChildPos);
- isScan = true;
- base.OnTrackingFound();
- }
- }
- public void SetOpenScan()
- {
- isScan = false;
- }
- protected override void OnTrackingLost()
- {
-
- }*/
- }
|