﻿namespace ECS.Utilities
{
    using UnityEngine;

    public class CoroutineController : MonoBehaviour
    {
        public static CoroutineController _instance;

        public static CoroutineController Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new GameObject("CoroutineController", typeof(CoroutineController))
                        .GetComponent<CoroutineController>();
                }

                return _instance;
            }
        }
    }
}
