Closed nextechar-hardik closed 1 year ago
I am trying to get Status change event using following code...
`
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.ARFoundation; public class ARInteraction : MonoBehaviour { void onChange(ARSessionStateChangedEventArgs eventArgs) { //Debug.Log(eventArgs.state); } void Start() { ARSession.stateChanged+= onChange; } void Update() { } }
Getting error while building .. !!
Unity3d : 2021.3.17 AR Foundation : 5.0.2
I am trying to get Status change event using following code...
`
`
Getting error while building .. !!
Unity3d : 2021.3.17 AR Foundation : 5.0.2