예제 #1
0
파일: Pool.cs 프로젝트: dnkira/YieldMagic
        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);
            }
        }
예제 #2
0
 public static void EmptyThisDelegate(YieldBase me)
 {
 }