Files
RaindropViewer/Assets/Raindrop/UI/unity/BasePresenter.cs
T

27 lines
526 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Plugins.CommonDependencies;
using Raindrop.Services;
using UnityEngine;
namespace Raindrop.Presenters
{
//all stack-based UI windows/views inherit this.
public class BasePresenter : MonoBehaviour
{
private void Start()
{
}
public void registerWithUIService()
{
ServiceLocator.Instance.Get<UIService>();
}
}
}