Valem | Living pictures in Augmented Reality (Unity AR Tutorial) @ValemVR | Uploaded April 2019 | Updated October 2024, 15 hours ago.
▶ Support me on patreon : patreon.com/ValemVR
▶ Join the Valem discord channel : discord.gg/5uhRegs
Give life to your pictures with this quick Augmented Reality tutorial !
------------- Download Unity----------------
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();
}
}
▶ Support me on patreon : patreon.com/ValemVR
▶ Join the Valem discord channel : discord.gg/5uhRegs
Give life to your pictures with this quick Augmented Reality tutorial !
------------- Download Unity----------------
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();
}
}