using System.Collections; using System.Collections.Generic; using easyar; using UnityEngine; public class DiscernPicture : MonoBehaviour { public ImageTargetController imageTarget; private void Awake() { imageTarget.TargetFound += FoundImage; imageTarget.TargetLost += LostImage; } void Start() { } void Update() { } #region 是否被识别 void FoundImage() { Debug.Log("被识别"); } void LostImage() { Debug.Log("丢失识别"); } #endregion }