Living pictures in Augmented Reality (Unity AR Tutorial)
YouTube Viewers YouTube Viewers
86.7K subscribers
79,690 views
0

 Published On Apr 2, 2019

▶ Support me on patreon :   / valemvr  
▶ Join the Valem discord channel :   / discord  

Give life to your pictures with this quick Augmented Reality tutorial !

------------ Download Unity---------------

https://unity3d.com/get-unity/download

--------- Add The TrackableEvent Script-------------

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

public class TrackableEvent : DefaultTrackableEventHandler {

public UnityEvent onTrackingFound;
public UnityEvent onTrackingLost;

protected override void OnTrackingFound()
{
base.OnTrackingFound();
onTrackingFound.Invoke();
}

protected override void OnTrackingLost()
{
base.OnTrackingLost();
onTrackingLost.Invoke();
}
}

show more

Share/Embed