using System.Collections;
using UnityEngine;
public class CoroutineExample : MonoBehaviour
{
private void Start()
{
StartCoroutine(Example(new float[] {0, 1, 2, 3}));
}
private IEnumerator Example(float[] floats)
{
yield return null;
}
}
using System;
using System.Collections.Generic;
public class MyClass<T> where T : class
{
private Dictionary<string, Func<List<T>>> functions = new Dictionary<string, Func<List<T>>>();
}