Ejemplo n.º 1
0
        internal static void Free(YieldBase item)
        {
            //        Debug.Log("Free:" + Progress);
            item.Initialized = false;
            Type type = item.GetType();

            //incase we don't use pool
            if (activeInstructions.ContainsKey(type) && activeInstructions[type].Contains(item))
            {
                activeInstructions[type].Remove(item);
                freeInstruction[type].Add(item);
            }
        }
Ejemplo n.º 2
0
 public static void EmptyThisDelegate(YieldBase me)
 {
 }