33 lines
606 B
C#
33 lines
606 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Vuforia;
|
|
|
|
public class TrackableEvent : MonoBehaviour
|
|
{
|
|
|
|
private void Awake()
|
|
{
|
|
VuforiaRuntime.Instance.RegisterVuforiaInitErrorCallback(OnVuforiaInitError);
|
|
}
|
|
|
|
private void OnVuforiaInitError(VuforiaUnity.InitError initError)
|
|
{
|
|
if (initError != VuforiaUnity.InitError.INIT_SUCCESS)
|
|
{
|
|
|
|
}
|
|
}
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|