public SheduleCall(float inTime, ProcFunction inFunc, float inOffsetTime, bool inDebug = false) : base(inTime, inOffsetTime) { debug = inDebug; func = inFunc; debug = false; }
public static void CallFunc(ProcFunction func, string filename) { Stopwatch sw = new Stopwatch(); sw.Start(); func(); sw.Stop(); WriteLogTime(sw.ElapsedMilliseconds, func.Method.Name, filename); }
protected void AddSheduleCall(float time, ProcFunction function, float offsetTime) { sheduleList.Add(new SheduleCall(time, function, offsetTime)); }