Exemplo n.º 1
0
    public static Coroutine RunCoroutine(IEnumerator routine)
    {
        if (_instance == null)
        {
            Debug.LogError("Gamedonia Error: No Gamedonia instance exists. Drag the Gamedonia game object into your scene.");
            return(null);
        }

        return(_instance.StartCoroutine(routine));
    }