コード例 #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
ファイル: YieldBase.cs プロジェクト: dnkira/YieldMagic
 public static void EmptyThisDelegate(YieldBase me)
 {
 }