/// <summary> /// 创建方法 /// </summary> /// <param name="AC"></param> /// <returns></returns> public static CMissionCallFunc Create(Action AC) { CMissionCallFunc CMCF = new CMissionCallFunc(); CMCF.m_Action = AC; return(CMCF); }
/// <summary> /// 增加一个函数调用 /// </summary> public void AppendCallFunc(Action Callfunc) { CMissionCallFunc CMCF = CMissionCallFunc.Create(Callfunc); m_MissionQueue.Enqueue(CMCF); }