Singularity/Assets/Plugins/ImaginationOverflow/UniversalDeepLinking/Scripts/Providers/DummyLinkProvider.cs

31 lines
666 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ImaginationOverflow.UniversalDeepLinking;
using UnityEngine;
namespace ImaginationOverflow.UniversalDeepLinking.Providers
{
public class DummyLinkProvider : ILinkProvider
{
public bool Initialize()
{
Debug.Log("Dummy init");
return false;
}
public event Action<string> LinkReceived;
public void PollInfoAfterPause()
{
}
protected virtual void OnLinkReceived(string obj)
{
if (LinkReceived != null)
LinkReceived(obj);
}
}
}