예제 #1
0
 public SheduleCall(float inTime, ProcFunction inFunc, float inOffsetTime, bool inDebug = false)
     : base(inTime, inOffsetTime)
 {
     debug = inDebug;
     func  = inFunc;
     debug = false;
 }
예제 #2
0
        public static void CallFunc(ProcFunction func, string filename)
        {
            Stopwatch sw = new Stopwatch();

            sw.Start();
            func();
            sw.Stop();
            WriteLogTime(sw.ElapsedMilliseconds, func.Method.Name, filename);
        }
예제 #3
0
 protected void AddSheduleCall(float time, ProcFunction function, float offsetTime)
 {
     sheduleList.Add(new SheduleCall(time, function, offsetTime));
 }